at the moment I am writing a 2D engine in OpenGL, and I implemented animation. The frames are put together in one bitmap next to each other, and to animate them, I just load the bitmap and change the texture-coords. This works fine.
But I tried to load a bitmap with the size 192x32. but my graphics card only loads 64x64, 128x128 etc. (even 192x192 doesnt get loaded). Thats a real problem. Of course I could load the bitmap and fill the bitmap up that it has the size 256x256, but then, i would also need to change the frame positions inside the bitmap. And if I resize the bitmap, I'll also have problems with collison-detection because its based on the size of the frame.
Did you have similar problems? How did you solve that issue?
Thank you for any hints.