MCPcopy Create free account
hub / github.com/aardappel/treesheets / SDLRequireGLVersion

Function SDLRequireGLVersion

lobster/src/sdlsystem.cpp:239–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237string glslversion = "150";
238#endif
239void SDLRequireGLVersion(int major, int minor) {
240 #ifdef PLATFORM_WINNIX
241 gl_major = major;
242 gl_minor = minor;
243 glslversion = cat(major, minor, "0");
244 #endif
245};
246
247string SDLInit(string_view title, const int2 &desired_screensize, bool isfullscreen, int vsync,
248 int samples) {

Callers 1

AddGraphicsFunction · 0.85

Calls 1

catFunction · 0.85

Tested by

no test coverage detected