creation of opengl 1.5 context, mixing of gl calls with sdl renderer
This commit is contained in:
@ -26,6 +26,7 @@ add_subdirectory(third-party/libxm)
|
||||
set(SOURCE_FILES
|
||||
third-party/physfs/extras/physfsrwops.c
|
||||
third-party/stb/stb_vorbis.c
|
||||
third-party/glad/src/glad.c
|
||||
|
||||
src/config.h
|
||||
src/context.h
|
||||
@ -80,7 +81,7 @@ else()
|
||||
set(WARNING_FLAGS
|
||||
-Wall
|
||||
-Wextra
|
||||
-pedantic-errors
|
||||
-Wpedantic
|
||||
-Wshadow
|
||||
-Wdouble-promotion
|
||||
-Wconversion -Wno-sign-conversion
|
||||
@ -120,6 +121,7 @@ target_include_directories(${PROJECT_NAME}
|
||||
third-party/physfs/src
|
||||
third-party/physfs/extras
|
||||
third-party/libxm/include
|
||||
third-party/glad/include
|
||||
)
|
||||
|
||||
# header-only libraries should be marked as "system includes"
|
||||
|
Reference in New Issue
Block a user