summaryrefslogtreecommitdiff
path: root/tests/general/vs-point_size-zero.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-01-28 14:24:15 +0100
committerMarek Olšák <maraeo@gmail.com>2012-01-28 14:24:15 +0100
commit360050e3a311e9fd6eec029ff6b4480795c8f272 (patch)
treee5646463ebb121fef2422d825ad6d9991f08f9d6 /tests/general/vs-point_size-zero.c
parente06ef29d66442d639a449cc825af60e62844baf0 (diff)
vs-point_size-zero: output 0.001 instead of 0
0 is undefined behavior, so output something greater.
Diffstat (limited to 'tests/general/vs-point_size-zero.c')
-rw-r--r--tests/general/vs-point_size-zero.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general/vs-point_size-zero.c b/tests/general/vs-point_size-zero.c
index 8160ce18c..f44b0bbd4 100644
--- a/tests/general/vs-point_size-zero.c
+++ b/tests/general/vs-point_size-zero.c
@@ -33,7 +33,7 @@ static const char *vstext =
"{ \n"
" gl_Position = ftransform(); \n"
" gl_FrontColor = vec4(1.0); \n"
- " gl_PointSize = 0.0; \n"
+ " gl_PointSize = 0.001; \n"
"} \n";