25 lines
746 B
Diff
25 lines
746 B
Diff
From 3f7362668324097e2ee47a50045154c0a443fc89 Mon Sep 17 00:00:00 2001
|
|
Date: Fri, 17 Jun 2016 15:13:11 +0300
|
|
Subject: [PATCH] Fixed condition for GLSL version
|
|
|
|
---
|
|
src/tests/shadow-sample.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/tests/shadow-sample.c b/src/tests/shadow-sample.c
|
|
index 4f17808..ad8553f 100644
|
|
--- a/src/tests/shadow-sample.c
|
|
+++ b/src/tests/shadow-sample.c
|
|
@@ -83,7 +83,7 @@ Init(void)
|
|
const char *glslVersion =
|
|
(const char *) glGetString(GL_SHADING_LANGUAGE_VERSION);
|
|
if (!glslVersion || glslVersion[0] < '1') {
|
|
- fprintf(stderr, "GLSL 1.x not supported\n");
|
|
+ fprintf(stderr, "GLSL less then 1.x not supported\n");
|
|
return;
|
|
}
|
|
setupTextures();
|
|
--
|
|
2.16.4
|
|
|