aboutsummaryrefslogtreecommitdiff
path: root/tests/gl_ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gl_ps.c')
-rw-r--r--tests/gl_ps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gl_ps.c b/tests/gl_ps.c
index 81579c1d..6ea0e3db 100644
--- a/tests/gl_ps.c
+++ b/tests/gl_ps.c
@@ -78,6 +78,9 @@ void shaders() {
glLinkProgram(program);
glGetProgramiv(program, GL_LINK_STATUS, &ok);
assert(ok);
+ assert(glIsProgram(program));
+ assert(!glIsProgram(0));
+ assert(!glIsProgram(program+1)); // a number that can't be a real shader
glUseProgram(program);