Why doesn't this work? (SDL/OpenGL-ES)
category: code [glöplog]
So... i've written some things in SDL/OpenGL before, and I want to port some of them to webOS, but i've never done OpenGL-ES before. I can't even get a stupid square on the screen, its just blank.
So, is there some reason why this shows nothing: (don't worry if you're not familiar with webOS, its just SDL & OpenGL-ES)
http://pastebin.com/2nhtf7Vj
?!?!?!!?!!?
So, is there some reason why this shows nothing: (don't worry if you're not familiar with webOS, its just SDL & OpenGL-ES)
http://pastebin.com/2nhtf7Vj
?!?!?!!?!!?
xeron: missed you on irc last night. You're not setting the openGL version:
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
Maybe it defaults to ES 1, but if not glOrthoF and the likes won't work and you'll need a shader.
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
Maybe it defaults to ES 1, but if not glOrthoF and the likes won't work and you'll need a shader.
You probably need to clear the depth buffer too
@phonics
thanks! That was it.. Now I have one of my games running on the touchpad. Just need to add touch controls and put in my own protracker replay because sdl mixer for tp doesn't support it...
thanks! That was it.. Now I have one of my games running on the touchpad. Just need to add touch controls and put in my own protracker replay because sdl mixer for tp doesn't support it...
and touchpad autocorrect thinks psonice should be phonics :)
phonics is probably better than psonice anyway ;) (Although it does kind of sound like a lame musician..)
And, cool. More touchpad games \o/
And, cool. More touchpad games \o/
woohoo! my firstapp is in the catalogue!
Commerce kills teh demoscenes!
uhhh... Its not a demo, though...
Maybe turn the preview images 90° right...
The image orientation is nothing to do with me...
Congrats :)
\o/
Downloaded it already :)
Downloaded it already :)