creation of opengl 1.5 context, mixing of gl calls with sdl renderer

This commit is contained in:
2024-07-09 15:35:54 +03:00
parent 96d1f5b7a2
commit f98f9e1300
7 changed files with 3909 additions and 24 deletions

View File

@ -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"