mirror of https://github.com/snes9xgit/snes9x.git
Qt/win32: Fix compiling opengl driver.
This commit is contained in:
parent
84e72a4025
commit
a93dd67c51
|
@ -4,8 +4,8 @@
|
|||
For further information, consult the LICENSE file in the root directory.
|
||||
\*****************************************************************************/
|
||||
|
||||
#ifndef __WGL_CONTEXT_HPP
|
||||
#define __WGL_CONTEXT_HPP
|
||||
#pragma once
|
||||
#include <glad/wgl.h>
|
||||
|
||||
#include "opengl_context.hpp"
|
||||
|
||||
|
@ -30,5 +30,3 @@ class WGLContext : public OpenGLContext
|
|||
int version_major;
|
||||
int version_minor;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -155,7 +155,7 @@ else()
|
|||
endif()
|
||||
|
||||
find_package(SDL3 QUIET)
|
||||
if (SDL3_FOUND AND (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows"))
|
||||
if (SDL3_FOUND)
|
||||
message("Using system SDL3.")
|
||||
list(APPEND LIBS SDL3::SDL3)
|
||||
list(APPEND INCLUDES ${SDL3_INCLUDE_DIRS})
|
||||
|
@ -183,9 +183,6 @@ endif()
|
|||
|
||||
list(APPEND DEFINES SDL_MAIN_HANDLED)
|
||||
|
||||
list(APPEND PLATFORM_SOURCES ../external/fmt/src/format.cc)
|
||||
list(APPEND INCLUDES ../external/fmt/include)
|
||||
|
||||
list(APPEND QT_GUI_SOURCES
|
||||
src/main.cpp
|
||||
src/EmuApplication.cpp
|
||||
|
|
Loading…
Reference in New Issue