only conditionally add WGL_USE_BACKING_WINDOW
This commit is contained in:
@@ -29,7 +29,9 @@ if(USE_ANGLE)
|
|||||||
add_compile_definitions(USE_ANGLE)
|
add_compile_definitions(USE_ANGLE)
|
||||||
list(APPEND PLUGIN_SOURCES "flutter_angle_texture.cpp" "egl_context.cpp" )
|
list(APPEND PLUGIN_SOURCES "flutter_angle_texture.cpp" "egl_context.cpp" )
|
||||||
else()
|
else()
|
||||||
add_compile_definitions(WGL_USE_BACKING_WINDOW)
|
if(WGL_USE_BACKING_WINDOW)
|
||||||
|
add_compile_definitions(WGL_USE_BACKING_WINDOW)
|
||||||
|
endif()
|
||||||
list(APPEND PLUGIN_SOURCES "wgl_context.cpp" "opengl_texture_buffer.cpp" "backing_window.cpp")
|
list(APPEND PLUGIN_SOURCES "wgl_context.cpp" "opengl_texture_buffer.cpp" "backing_window.cpp")
|
||||||
# if(WGL_USE_BACKING_WINDOW)
|
# if(WGL_USE_BACKING_WINDOW)
|
||||||
# list(APPEND PLUGIN_SOURCES )
|
# list(APPEND PLUGIN_SOURCES )
|
||||||
|
|||||||
Reference in New Issue
Block a user