notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sdl: don't try gl on remote displays
[libpicofe.git]
/
gl.c
diff --git
a/gl.c
b/gl.c
index
2ebb87c
..
0e18c45
100644
(file)
--- a/
gl.c
+++ b/
gl.c
@@
-131,6
+131,11
@@
out:
return retval;
}
return retval;
}
+void gl_announce(void)
+{
+ printf("GL_RENDERER: %s\n", (char *)glGetString(GL_RENDERER));
+}
+
static float vertices[] = {
-1.0f, 1.0f, 0.0f, // 0 0 1
1.0f, 1.0f, 0.0f, // 1 ^
static float vertices[] = {
-1.0f, 1.0f, 0.0f, // 0 0 1
1.0f, 1.0f, 0.0f, // 1 ^