aboutsummaryrefslogtreecommitdiff
path: root/tests/gl_ps.c
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-14 22:13:59 +0100
committerAlon Zakai <alonzakai@gmail.com>2013-02-14 22:13:59 +0100
commit275900d217b354a92b97e645ea6de566b58c3476 (patch)
tree9b0259dc8307c9704d9629fab2d6b80de3f57bcd /tests/gl_ps.c
parent1f5518bf0f4afcfbc54772247776879ea956f913 (diff)
fix and test glIsProgram
Diffstat (limited to 'tests/gl_ps.c')
-rw-r--r--tests/gl_ps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gl_ps.c b/tests/gl_ps.c
index 81579c1d..a8a6807f 100644
--- a/tests/gl_ps.c
+++ b/tests/gl_ps.c
@@ -78,6 +78,8 @@ void shaders() {
glLinkProgram(program);
glGetProgramiv(program, GL_LINK_STATUS, &ok);
assert(ok);
+ assert(glIsProgram(program));
+ assert(!glIsProgram(-1));
glUseProgram(program);