Search found 2 matches

by ilzc
Sun Feb 17, 2013 9:07 am
Forum: Beginners Help
Topic: Why glReadPixels return unexpected color format value?
Replies: 0
Views: 547

Why glReadPixels return unexpected color format value?

I want to capture screen using Irrlicht ogl-es branch. Here is my code written in c++ glReadPixels(0, 0, 200, 200, GL_RGBA, GL_UNSIGNED_BYTE, pixels); Most Android devices work well. But MileStone with Android 2.2.3 got unexpected result.I desire RGBA color format,while MileStone return BGRA color. ...
by ilzc
Mon Sep 10, 2012 8:20 am
Forum: Project Announcements
Topic: Android Port
Replies: 383
Views: 172257

Re: Android Port

Hi I have complied the android port demo and it works well when it first launches. But I found some confusing problems. One of the problems is that when turning the Activity containing GLSurfaceView to back stack, and return to the app later,texture is lost and models without texture is shown on the...