mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
Fixes GL fix, which was broken. Added -g flag to cmake, so we can have debug builds.
This commit is contained in:
parent
4c6aa34810
commit
84c9323750
2 changed files with 5 additions and 3 deletions
|
@ -7,6 +7,7 @@ if (CMAKE_COMPILER_IS_GNUCXX)
|
|||
#add_definitions(-Wfatal-errors)
|
||||
add_definitions(-w) # TODO: remove me
|
||||
add_definitions(-fpermissive) # TODO: remove me
|
||||
add_definitions(-g) # Debugging!!
|
||||
endif()
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules)
|
||||
|
|
|
@ -10,6 +10,10 @@ void InitProcTable()
|
|||
#undef OPENGL_PROC
|
||||
#undef OPENGL_PROC2
|
||||
#endif
|
||||
#ifdef __UNIX__
|
||||
glewExperimental = true;
|
||||
glewInit();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
|
@ -39,9 +43,6 @@ void OpenGL::Init()
|
|||
#include "GLProcTable.tbl"
|
||||
#undef OPENGL_PROC
|
||||
#undef OPENGL_PROC2
|
||||
#elif __UNIX__
|
||||
glewExperimental = true;
|
||||
glewInit();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue