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

Author Topic: Random crashes while loading textures  (Read 4103 times)

0 Members and 1 Guest are viewing this topic.

MBee

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Random crashes while loading textures
« Reply #15 on: May 13, 2022, 04:19:36 pm »
A little progress: I've so far tracked it down to having the Linker setting: Link Library Dependencies enabled.
With it off, works fine. With it on, crashes.
Wow, with this setting disabled, It still crashes for me!

kojack

  • Sr. Member
  • ****
  • Posts: 343
  • C++/C# game dev teacher.
    • View Profile
Re: Random crashes while loading textures
« Reply #16 on: May 13, 2022, 04:47:54 pm »
Hmm, this is a very odd issue.

It seems opengl itself is dying (returning version 0 instead of version 4) after being called a few times.

Bambo_Borris

  • Newbie
  • *
  • Posts: 3
  • I see that town, Silent Hill...
    • View Profile
Re: Random crashes while loading textures
« Reply #17 on: May 13, 2022, 05:01:46 pm »
Hmm, this is a very odd issue.

It seems opengl itself is dying (returning version 0 instead of version 4) after being called a few times.

I'm going to give another test of my VS project trying to force the error. I know that last time I tried I couldn't reproduce it, and with any CMake projects I've been playing with have not seen this. I've been testing a lot of SFML3 stuff so I feel like I would have ran into this sooner.
I lurk here, find me on the SFML Discord instead...