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

Author Topic: Huge problem with SFML  (Read 6456 times)

0 Members and 1 Guest are viewing this topic.

Oz1571

  • Newbie
  • *
  • Posts: 28
    • View Profile
Huge problem with SFML
« Reply #15 on: January 11, 2010, 04:32:33 pm »
I have had similar issues during the past two months or so, sometimes it will freeze whenever I move the mouse cursor (GetEvent), and it won't go away until I restart my computer. Most of the time it works fine, though.

chris67

  • Newbie
  • *
  • Posts: 12
    • View Profile
Huge problem with SFML
« Reply #16 on: January 12, 2010, 11:26:11 pm »
Quote from: "Oz1571"
I have had similar issues during the past two months or so, sometimes it will freeze whenever I move the mouse cursor (GetEvent), and it won't go away until I restart my computer. Most of the time it works fine, though.


Ah yes, that was something else I did, I restarted my computer. Still, every other application ran fine, so it was something specifically to do with SFML.


Just happened again in fact. My computer had been running for a day or two, and I started one of the samples ( the box one ) and same thing, mouse movement slowed down the rotating cube. I reset my computer and it was all smooth again.

heishe

  • Full Member
  • ***
  • Posts: 121
    • View Profile
Huge problem with SFML
« Reply #17 on: May 23, 2010, 03:39:08 pm »
I have the same problem. No idea how to fix it (1.6 here)

Antidote

  • Newbie
  • *
  • Posts: 35
    • View Profile
Huge problem with SFML
« Reply #18 on: May 24, 2010, 03:18:47 am »
Check the task manager and see what the memory usage is when this happens. It may be a memory leak if so some debugging is in order.

Laurent, maybe you should check the Mouse event functions in the SDK and make sure you have no stray loops.

Kingdom of Fish

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Huge problem with SFML
« Reply #19 on: May 24, 2010, 12:52:28 pm »
I've had similar problem but I just solved it with a for-loop instead

Code: [Select]
for (int i = 0 ; (i < 3) && (app.GetEvent(event) ; i++) {
    //handle events
}