Advertisement

128x128 texture-limit?

Started by August 28, 2003 03:02 AM
1 comment, last by User137 21 years, 6 months ago
This problem has existed in my engine for some time, but i''ve seen larger textures than 128x128 loaded with C++. I''m using OpenGL with Delphi. These are current data-structures for textures, they both work, but when i increase to 256 it shows white texture: RGBTexture: Data: array[0..3*128*128-1] of Byte; RGBATexture: (with alpha-channel) Data: array[0..4*128*128-1] of Byte; I have also tried memory allocation with no different result.
how do you set up opengl texture... did you change texture size parametrs to 256?

You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
Advertisement
Now this is weird???
I retried to solve the problem and it worked at first shot...
Maybe i have changed something in the window creation that makes this possible.

I had already got used to 128 textures

Sorry for bothering...

This topic is closed to new replies.

Advertisement