Opengl Texture working on Emulator but not on HTC HERO

by Robert Green » Thu, 15 Jul 2010 04:11:51 GMT

Sponsored Links
 You're binding to texture 0.  That's incorrect - you need to generate
the texture IDs and use those to bind when uploading and drawing.

Beyond that, you should ask:
Is your texture a power of two?  Does the Hero support the texture
crop extension?


Opengl Texture working on Emulator but not on HTC HERO

by Sundog » Thu, 15 Jul 2010 04:48:10 GMT

 My vote's on the texture power of 2. Did it myself - works in the
emulator sometimes.


Sponsored Links

Other Threads

1. CopyOnWriteArrayList Problem

I am having an issue that only happens in 1.5 or 1.6. When I serialize
a CopyOnWriteArrayList to save it and the restore it after I try to
add or remove items I get a Null Pointer Exception error. I can read
from the list with no problems and this doesn't happen on 2.0, 2.01 or
2.2. I used the eclipse de{*filter*} to step through the issue and found
that the CopyOnWriteArrayList "lock" instance variable is what is set
to null. Has anyone else seen this and is there any fix?

Joshua Frank


2. Font rendering problem?

Please see here:

I am rendering two lines of text, the only difference is the color.
The red text looks obviously shorter and fatter, they are both 18sp in

Is this a bug or am I doing something wrong?

The style for the white text is

<item name="android:textSize">18sp</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>

For the red text it's the same size and style, but the color is a
custom color resource (but basically it's pure red, as given by the
last line):

<selector xmlns:android="">
    <item android:state_enabled="false" android:color="#50ff0000"/>
    <item android:state_window_focused="false"
    <item android:state_pressed="true" android:color="#ff000000"/>
    <item android:state_selected="true" android:color="#ff000000"/>
    <item android:color="#ffff0000"/> <!-- not selected -->


3. "Sorry, this video cannot be played" on Nexus one 2.2

4. Crashing/hanging problem with recent JDK/JRE update on Windows

5. If Google stops making Nexus One what happens.....

6. Failure loading drawables on Cupcake/1.5 when building with Froyo/2.2 SDK

7. OOT: Share foto biar pada kenal antar anggota milist ID-Android