16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 12:39:17 +02:00

texture-related render code bumped to openGL 1.4; disabled texture switching optimization until other parts of the render code are reviewed.

This commit is contained in:
tmj-fstate
2017-02-13 22:06:26 +01:00
parent 6ed00729fc
commit a362d10fb0
3 changed files with 105 additions and 326 deletions

View File

@@ -63,6 +63,13 @@ int InitGL(GLvoid) // All Setup For OpenGL Goes Here
// _clear87();
// _control87(MCW_EM, MCW_EM);
glewInit();
if( !GLEW_VERSION_1_4 ) {
// experimental: require at least openGL 1.4
Error( "This application requires openGL version 1.4 (or better)" );
return 0;
}
// hunter-271211: przeniesione
// AllocConsole();
// SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_GREEN);