Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Textures all the same. First run per installation.

Textures all the same. First run per installation.

Problems with Canvas, OpenGL, etc...

Textures all the same. First run per installation.

Postby millerni456 » Thu Oct 13, 2011 3:01 am

Hello I've came across an unusual error.

I'm making a game for Android and when I install my application to my AVD emulator, all the loaded textures (which should be different) all render the same.

For example, I have a menu when buttons. Each button will render a different texture when called to render.
However all the buttons use the SAME texture.

After closing the program and re-running it (without a re-installation), the textures work as planned. :s

Some things to point out...

I make the Activity.getResources a static variable so texture loading is simplified.
Also, when rendering textures, my VBO Squares (just an object that will render as a VBO)
the square will bind the texture if it is not null. It does this each time it wants to render.

So I loop through rendering and each square (button) will bind a unique texture.


Any Ideas as to what could be wrong? I'm just looking for possible areas to check to debug. I will probably not post any code because there is a lot. :p

Thanks in advance!
millerni456
Junior Developer
Junior Developer
 
Posts: 12
Joined: Wed Oct 05, 2011 12:39 am

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 4 guests