mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 10:19:19 +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:
7
EU07.cpp
7
EU07.cpp
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user