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

Author Topic: sf::Texture vs 32bit exe vs 64bit exe  (Read 2415 times)

0 Members and 1 Guest are viewing this topic.

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
sf::Texture vs 32bit exe vs 64bit exe
« on: March 29, 2014, 04:35:34 pm »
Why texture 2048x1024 is perfectly works with 64bit executable and failed to create due size limitation with 32bit executable? I thought that it depends on video card.
VC - nVidia 250 GTS 512Mb
x64 mode sf::Texture::getMaximumSize() returns 8196
32 bits mode sf::Texture::getMaximumSize() returns 1024  :-\
« Last Edit: March 29, 2014, 05:59:19 pm by ChronicRat »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: sf::Texture vs 32bit exe vs 64bit exe
« Reply #1 on: March 29, 2014, 06:54:58 pm »
You can expect all kind of weird things from OpenGL drivers. Don't waste too much time trying to understand these things ;)
Laurent Gomila - SFML developer

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: sf::Texture vs 32bit exe vs 64bit exe
« Reply #2 on: March 29, 2014, 07:45:52 pm »
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: sf::Texture vs 32bit exe vs 64bit exe
« Reply #3 on: March 29, 2014, 07:58:14 pm »
You can expect all kind of weird things from OpenGL drivers. Don't waste too much time trying to understand these things ;)
I think two days will be enough to understand that this is waste of time. =)

Use thor::BigTexture :P
I have own GIPE Texture (it is similar, but not at all), so if i will not find the solution - that's ok.  ;)

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: sf::Texture vs 32bit exe vs 64bit exe
« Reply #4 on: March 30, 2014, 07:04:29 am »
Downgrading nVidia drivers from 335 to 275 solved the problem.

 

anything