Jump to content
Site Stability Read more... ×
  • Advertisement
Sign in to follow this  

Android giving different result than IOS

This topic is 2768 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So on Mac and IOS I have some code which produces a solid color with correct alpha blending from a texture.



Is used.. and...

GLfloat aColorArray[4];

Is set elswhere. So if the color is pure white and those 2 functions are called on IOS (GL ES 1.0) then ill get white wherever the texture is solid and just blank or blended where the texture alpha is non opaque.

However the same calls on android (testing on samsung galaxy tab) yield and inverted texture instead of a solid color. I'm assuming the IOS result is correct, and it is the result I want. Why do I get a different result on android and is there a way to fix this? Is there maybe some default setting on the IOS gl that I need to explicitely set on Android? Any ideas would be appreciated.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!