3dfxdev / EDGE

EDGE Source Code
http://edge2.sf.net
74 stars 10 forks source link

Screen Wiping Messed Up #15

Closed Corbachu closed 8 years ago

Corbachu commented 8 years ago

Compiling with Visual Studio messes up the RGL_Wipe code, specifically the Screen Melt effect (no other wipe transitions are affected). Under GCC, it works normally.

Something is wrong with that code - we need to address it ASAP.

Corbachu commented 8 years ago

UsernameAK: do you get the melt bug when compiling with CMake?

Corbachu commented 8 years ago

Figured out why the melt code fucks up: visual studio likes to compile with optimizations, so turning it off restores screen melt. I learned I could use a pragma to tell VS not to optimize just the screen melting and the rest of the program gets optimized no problem. So, I will write that pragma into the melt code so optimization won't hit the melt transition.