Ah sorry for long response time. Anyway, I went back to the problem
and started using GLSurfaceView instead and it works with the current
setup.
With the GLSurfaceView, where am I supposed to implement
onTouchListener? Since if I make the starting activity to implement
the onTouchListener, it
On Nov 15, 1:27 pm, Mika mts...@googlemail.com wrote:
With the GLSurfaceView, where am I supposed to implement
onTouchListener?
In my OpenGL app, I use an onTouchEvent listener on the containing
activity instead. Works for me.
String
--
You received this message because you are subscribed
Oh wow, I was so blind, I was just forcefully trying to implement
onTouch() instead of onTouchEvent(), as soon as I swapped it, it
started to work. Phew... How blind can you became to your own code? =)
Thank you guys.
On 15 marras, 18:20, String sterling.ud...@googlemail.com wrote:
On Nov 15,
Hi Robert,
Will do. Here goes.
First part is the sizeChange() when Android screen size changes and
it gets called when the application launches. I'd thought I'd paste in
the EGL stuff too, not all of it but some of it since it kind of
relates to the initialisation. But yeah, the problem still is
Ah, I didn't realize how you were initializing GL. I'm bad at the EGL
config stuff which is why I just use GLSurfaceView. I'm wondering if
your problem is there? Consider trying GLSurfaceView and let me know
the results. Otherwise, you may want to debug your init to make sure
that it's
I had a problem with Ortho on my phone vs on the emulator at one point
as well. Could you post more of your GL initialization code? My
problem was something dumb like I was calling orthox using actual
screen dimensions when I needed to either use fixed point there or use
orthof.
On Nov 8, 3:34
6 matches
Mail list logo