summaryrefslogtreecommitdiff
path: root/drivers/gles3/shaders/canvas.glsl
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2019-12-10 23:08:20 -0800
committerclayjohn <claynjohn@gmail.com>2019-12-10 23:08:20 -0800
commit676f647c74f155d71a21b07155e529184c7b3d86 (patch)
tree06ef407a1340c4ae6ddd54c45862e943395f02f5 /drivers/gles3/shaders/canvas.glsl
parent269145a346bddae5cbbf00fd17b6c8eac4cd4665 (diff)
Add a default POINT_SIZE
Diffstat (limited to 'drivers/gles3/shaders/canvas.glsl')
-rw-r--r--drivers/gles3/shaders/canvas.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gles3/shaders/canvas.glsl b/drivers/gles3/shaders/canvas.glsl
index 7255b0425c..53f84abf51 100644
--- a/drivers/gles3/shaders/canvas.glsl
+++ b/drivers/gles3/shaders/canvas.glsl
@@ -150,6 +150,7 @@ void main() {
#define extra_matrix extra_matrix_instance
+ float point_size = 1.0;
//for compatibility with the fragment shader we need to use uv here
vec2 uv = uv_interp;
{
@@ -160,6 +161,7 @@ VERTEX_SHADER_CODE
/* clang-format on */
}
+ gl_PointSize = point_size;
uv_interp = uv;
#ifdef USE_NINEPATCH