mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
added some missing conformal::configure()
This commit is contained in:
parent
31164e12d6
commit
84af8f2b32
3
rug.cpp
3
rug.cpp
@ -376,6 +376,7 @@ void buildTorusRug() {
|
||||
using namespace torusconfig;
|
||||
|
||||
calcparam_rug();
|
||||
conformal::configure();
|
||||
|
||||
struct toruspoint {
|
||||
int x,y;
|
||||
@ -1280,6 +1281,7 @@ void prepareTexture() {
|
||||
|
||||
dynamicval<eStereo> d(vid.stereo_mode, sOFF);
|
||||
calcparam_rug();
|
||||
conformal::configure();
|
||||
|
||||
glbuf->enable();
|
||||
current_display->set_viewport(0);
|
||||
@ -1785,6 +1787,7 @@ hyperpoint gethyper(ld x, ld y) {
|
||||
double px = rx1 * TEXTURESIZE, py = (1-ry1) * TEXTURESIZE;
|
||||
|
||||
calcparam_rug();
|
||||
conformal::configure();
|
||||
hyperpoint h = hr::gethyper(px, py);
|
||||
calcparam();
|
||||
|
||||
|
@ -936,6 +936,7 @@ bool texture_config::load() {
|
||||
if(!data.readtexture(texturename)) return false;
|
||||
if(!data.loadTextureGL()) return false;
|
||||
calcparam();
|
||||
conformal::configure();
|
||||
drawthemap();
|
||||
config.tstate = config.tstate_max = tsActive;
|
||||
string s = move(texture_tuner);
|
||||
@ -1516,6 +1517,7 @@ void texture_config::remap() {
|
||||
else if(tstate == tsAdjusting) {
|
||||
printf("perform_mapping %d/%d\n", config.tstate, config.tstate_max);
|
||||
calcparam();
|
||||
conformal::configure();
|
||||
drawthemap();
|
||||
perform_mapping();
|
||||
finish_mapping();
|
||||
|
Loading…
Reference in New Issue
Block a user