Ok, I’ve done some naïve testing and found that in testshader.c, if I put a…
SDL_PumpEvents();
SDL_SetWindowSize(window, width, height);
…after the call to SDL_GL_CreateContext(window), the OpenGL contents will appear. Very interesting. 
Ok, I’ve done some naïve testing and found that in testshader.c, if I put a…
SDL_PumpEvents();
SDL_SetWindowSize(window, width, height);
…after the call to SDL_GL_CreateContext(window), the OpenGL contents will appear. Very interesting. 