Mesa (main): mesa: set PointSizeIsOne on context creation

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Apr 10 17:24:10 UTC 2022


Module: Mesa
Branch: main
Commit: 6357ce2b8e4651601a2668358394f0fa967f7ddc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6357ce2b8e4651601a2668358394f0fa967f7ddc

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Apr  8 10:59:38 2022 -0400

mesa: set PointSizeIsOne on context creation

forgot to add this when inverting the flag's meaning previously

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15821>

---

 src/mesa/main/context.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 4238fcc18dc..8e623d68c30 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1081,6 +1081,7 @@ _mesa_initialize_context(struct gl_context *ctx,
       break;
    }
    ctx->VertexProgram.PointSizeEnabled = ctx->API == API_OPENGLES2;
+   ctx->PointSizeIsOne = GL_TRUE;
 
    ctx->FirstTimeCurrent = GL_TRUE;
 



More information about the mesa-commit mailing list