[MESA] Report... the correct version lol?

This commit is contained in:
Justin Miller 2024-04-09 15:18:29 -07:00
parent c4de93bd6f
commit ba7c51dd21
1 changed files with 3 additions and 3 deletions

View File

@ -56,9 +56,9 @@ override_version(struct gl_context *ctx, GLuint *major, GLuint *minor)
static void
compute_version(struct gl_context *ctx)
{
/* report openGL 1.1 */
ctx->VersionMajor = 1;
ctx->VersionMinor = 1;
/* report openGL 2.0 */
ctx->VersionMajor = 2;
ctx->VersionMinor = 0;
override_version(ctx, &ctx->VersionMajor, &ctx->VersionMinor);