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

Author: Mike Blumenkrantz <[email protected]>
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 <[email protected]>
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;
 

Reply via email to