Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8064799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:28:48+00:00 2026-06-05T11:28:48+00:00

I have an OpenGL ES game application which uses a single PNG sprite with

  • 0

I have an OpenGL ES game application which uses a single PNG sprite with 27 frames on it horizontaly, to represent an animated monster. So, my PNG currently is 27 * 96 px width and 96 px height.

I recently added new animations to it, so it became 57 frames, now it is 57 * 96 which is a little more than 5000 px wide. Now my textures are simply displayed as white squares!?

I’ve tested it with different images, sizes (in KB) and resolutions, and I’ve found that any texture wider than 4000 px gets this white square, no matter the file size.

Is it a memory problem?
Do you have any ideas on fixing it?

I am testing on HTC Desire which I believe operates with Adreno 200 GPU.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:28:49+00:00Added an answer on June 5, 2026 at 11:28 am

    OpenGL implementations have a maximum texture width and height, whether it be desktop or mobile. What you should do is when the animation texture gets too wide, simply start a new line. I.f you use glEnvironment with GL_MAX_TEXTURE_SIZE, you can find out the maximum texture size for your device: opengl.org/wiki/Textures_-_more.

    Note that it is dependent on the hardware, and so it may be 4096 for your HTC (which is staggeringly large, actually), but is certainly smaller for most other phones – especially older ones.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been writing an OpenGL game engine for a while which uses SDL
I have a game engine that uses OpenGL for display. I coded a small
I have a cross-platform application (game). It uses SDL library. I can't link it
I'm working on an android game with OpenGL, and I have a game update
I want to develop a 2d game. I have to choose from Quartz/CoreGraphics, OpenGL
I have a simple OpenGL application where I have 2 objects displayed on screen:
I'm using OpenGL to render a game view in my android application. The game
I have a normal map in my OpenGL game engine and I realized that
Recently I have been developing a small OpenGL game. Everything in it runs fine
I have written an OpenGL game and I want to allow remote playing of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.