summaryrefslogtreecommitdiff
path: root/src/gl_calls.cpp
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2023-02-10 17:44:36 -0500
committerFox Caminiti <fox@foxcam.net>2023-02-10 17:44:36 -0500
commit52c6ad3f2686cb66a8954ca5dac7f3eba4676cc3 (patch)
tree8a1d505378f5b23ad95e1b59396b04fe4852f0fc /src/gl_calls.cpp
parent3d2e5b594b1872f866a698014c97ee4e98de6259 (diff)
ellipse and dumb cursor
Diffstat (limited to 'src/gl_calls.cpp')
-rw-r--r--src/gl_calls.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gl_calls.cpp b/src/gl_calls.cpp
index 1203c2f..8d5ef8c 100644
--- a/src/gl_calls.cpp
+++ b/src/gl_calls.cpp
@@ -358,7 +358,8 @@ GL_RasterizeShape2(gl_effect_layer *TestM, void *StrokeData, void *FillData, uin
glEnableVertexAttribArray(0);
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 4 * sizeof(float), (void*)(2 * sizeof(float)));
- glDrawElements(GL_TRIANGLE_STRIP, 6, GL_UNSIGNED_INT, 0);
+ // glDrawElements(GL_TRIANGLE_STRIP, 6, GL_UNSIGNED_INT, 0);
+ glDrawArrays(GL_TRIANGLE_FAN, 0, FillCount);
}
else {
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);