mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 23:28:04 -04:00
sdl: don't try gl on remote displays
This commit is contained in:
parent
39639dd1da
commit
c668921a45
3 changed files with 28 additions and 3 deletions
5
gl.c
5
gl.c
|
@ -131,6 +131,11 @@ out:
|
|||
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 ^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue