fasiy / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

TextSprite without VBO's #94

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Please provide any additional information below.
Same as issue 90 but with a new error (the old error seems to be fixed, but the 
end results is exactly the same).

And just like in issue 90 the error appears every frame.

java.lang.ClassCastException: com.stickycoding.rokon.TextTexture
    at com.stickycoding.rokon.TextSprite.onDrawNormal(TextSprite.java:88)
    at com.stickycoding.rokon.DrawableObject.onDraw(DrawableObject.java:360)
    at com.stickycoding.rokon.Layer.onDraw(Layer.java:138)
    at com.stickycoding.rokon.Scene.onDraw(Scene.java:938)
    at com.stickycoding.rokon.RokonRenderer.onDrawFrame(RokonRenderer.java:40)
    at com.stickycoding.rokon.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1112)
    at com.stickycoding.rokon.GLSurfaceView$GLThread.run(GLSurfaceView.java:946)

Original issue reported on code.google.com by anton.he...@gmail.com on 6 Jul 2010 at 7:29

GoogleCodeExporter commented 8 years ago
(also like issue 90 it does work just fine if you use VBO's)

Original comment by anton.he...@gmail.com on 6 Jul 2010 at 7:30

GoogleCodeExporter commented 8 years ago
Does it display anything when using VBO's?

This should be fixed, but I'm not convinced TextSprite is working properly yet

Original comment by rtaylor205@gmail.com on 7 Jul 2010 at 12:06

GoogleCodeExporter commented 8 years ago
Yes, if you use VBO's it works. (ie it displays the text you want).

Original comment by anton.he...@gmail.com on 7 Jul 2010 at 12:08

GoogleCodeExporter commented 8 years ago
I think this is resolved in the update a couple of days ago, confirm otherwise 
(need an exception)

Original comment by rtaylor205@gmail.com on 9 Jul 2010 at 10:37

GoogleCodeExporter commented 8 years ago
Nope, still doesn't work.
Same exception
java.lang.ClassCastException: com.stickycoding.rokon.TextTexture
    at com.stickycoding.rokon.TextSprite.onDrawNormal(TextSprite.java:88)
    at com.stickycoding.rokon.DrawableObject.onDraw(DrawableObject.java:360)
    at com.stickycoding.rokon.Layer.onDraw(Layer.java:138)
    at com.stickycoding.rokon.Scene.onDraw(Scene.java:938)
    at com.stickycoding.rokon.RokonRenderer.onDrawFrame(RokonRenderer.java:40)
    at com.stickycoding.rokon.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1112)
    at com.stickycoding.rokon.GLSurfaceView$GLThread.run(GLSurfaceView.java:946)

Original comment by anton.he...@gmail.com on 9 Jul 2010 at 1:27

GoogleCodeExporter commented 8 years ago
i have the same exception when running with emulator, the emulator doesn't 
support VBO, so now I can't get any text shown. It bothers me.

Original comment by rayjun...@gmail.com on 13 Jul 2010 at 3:58