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

@ -50,6 +50,7 @@ typedef struct context {
/* it can be changed at runtime; any resulting logic anomalies are bugs */
unsigned int update_multiplicity;
SDL_GLContext *gl_context;
SDL_Renderer *renderer;
SDL_Window *window;
uint32_t window_id;