Jump to content

Android Problems With Open Gl


Recommended Posts

Hey im trying to create a game for android but i am having some trouble with the Open GL im using, it works on the android emulator but not the actual phone, there both running the same OS which is 2.3.3. Has anyone else encountered these problems and how would you go about fixing them

CODE LINKS :

Player class ( One that contains the object coordinates ) - http://pastebin.com/mt0vxbCe

OpenGLRender class - http://pastebin.com/YhbDbuX9

OpenGLSurfaceView - http://pastebin.com/4UejZgsm

Link to comment
Share on other sites

i see your using open GL ES 1.0.

droid supports 1.0, 1.1, and 2.0

from what i have read you want to use 1.1 or 2.0

1.0 is a legacy thing now (i guess)

here's some info on 2.0

http://developer.android.com/resources/tutorials/opengl/opengl-es20.html

i know this probally isnt the solution your

looking for, but perhaps it will put you on

the right track.

hope that helps!

Link to comment
Share on other sites

i see your using open GL ES 1.0.

droid supports 1.0, 1.1, and 2.0

from what i have read you want to use 1.1 or 2.0

1.0 is a legacy thing now (i guess)

here's some info on 2.0

http://developer.and...pengl-es20.html

i know this probally isnt the solution your

looking for, but perhaps it will put you on

the right track.

hope that helps!

Thanks heaps it turns out it was the problem and now it works CHEERS !!

Link to comment
Share on other sites

i see your using open GL ES 1.0.

droid supports 1.0, 1.1, and 2.0

from what i have read you want to use 1.1 or 2.0

1.0 is a legacy thing now (i guess)

here's some info on 2.0

http://developer.android.com/resources/tutorials/opengl/opengl-es20.html

i know this probally isnt the solution your

looking for, but perhaps it will put you on

the right track.

hope that helps!

I gave you a +1 on this yesterday, because you seemed to have nailed the issue and also, your post was very helpful. I like when we get new people who actually contribute and know stuff we can all learn from. Nice catch!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...