Lines Matching defs:version
43 // This function checks things like whether the specified client API version
93 // OpenGL 1.0 is the smallest valid version
94 // OpenGL 1.x series ended with version 1.5
95 // OpenGL 2.x series ended with version 2.1
96 // OpenGL 3.x series ended with version 3.3
100 "Invalid OpenGL version %i.%i",
119 // Desktop OpenGL context profiles are only defined for version 3.2
123 "Context profiles are only defined for OpenGL version 3.2 and above");
130 // Forward-compatible contexts are only defined for OpenGL version 3.0 and above
132 "Forward-compatibility is only defined for OpenGL version 3.0 and above");
142 // OpenGL ES 1.0 is the smallest valid version
143 // OpenGL ES 1.x series ended with version 1.1
144 // OpenGL ES 2.x series ended with version 2.0
148 "Invalid OpenGL ES version %i.%i",
350 const char* version;
378 version = (const char*) window->context.GetString(GL_VERSION);
379 if (!version)
384 "OpenGL version string retrieval is broken");
389 "OpenGL ES version string retrieval is broken");
400 if (strncmp(version, prefixes[i], length) == 0)
402 version += length;
408 if (!sscanf(version, "%d.%d.%d",
416 "No version found in OpenGL version string");
421 "No version found in OpenGL ES version string");
432 // The desired OpenGL version is greater than the actual version
434 // /and/ the user has requested an OpenGL version greater than 1.0
442 "Requested OpenGL version %i.%i, got version %i.%i",
449 "Requested OpenGL ES version %i.%i, got version %i.%i",
517 // version