Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML2.0 load large texture problem  (Read 1260 times)

0 Members and 1 Guest are viewing this topic.

pridefight

  • Newbie
  • *
  • Posts: 10
    • View Profile
SFML2.0 load large texture problem
« on: January 10, 2012, 05:41:58 am »
what's the problem with the sfml2.0 , i upgraded my game from 1.6 to 2.0 just to avoid the so called graphics bug, but then i met with the same problem--game run quite well on one machine, but appear in a flash on another, who said the bug is removed!!!

the problem is: i tried to load a big texture, only to get the annoying "internal size to high problem", almost the same problem i tried to load a big image in SFML1.6

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
SFML2.0 load large texture problem
« Reply #1 on: January 10, 2012, 12:10:16 pm »
That's not a bug, the graphics card has a texture size limit which cannot be exceeded. I wrote the class thor::BigTexture to workaround this issue, maybe it helps you (see signature).
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything