make the OpenGL renderer work again

that was stupid
This commit is contained in:
RSDuck 2022-10-13 14:24:02 +02:00
parent db26406600
commit d82f08e98d
1 changed files with 2 additions and 4 deletions

View File

@ -65,6 +65,8 @@ if (ENABLE_OGLRENDERER)
GPU3D_OpenGL.cpp
GPU3D_OpenGL_shaders.h
OpenGLSupport.cpp)
target_compile_definitions(core PUBLIC OGLRENDERER_ENABLED)
endif()
if (ENABLE_JIT)
@ -125,10 +127,6 @@ if (ENABLE_JIT)
endif()
endif()
if (ENABLE_OPENGLRENDERER)
target_compile_definitions(core PUBLIC OGLRENDERER_ENABLED)
endif()
if (WIN32)
target_link_libraries(core PRIVATE ole32 comctl32 ws2_32)
elseif(NOT APPLE)