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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - moechofe

Pages: [1]
1
D / n00b how to GetMouse()
« on: August 17, 2010, 09:06:55 pm »
Hi

I'm using the derelict port of the csfml.
While I want to get the mouse coordinates, I get a "Access Violation" error

This is my code :
Code: [Select]

if( event.Type == sfEvtMouseMoved )
{
sfInput* input = sfRenderWindow_GetInput(window);
int x = sfInput_GetMouseX(input);
}


Sorry for my english

Pages: [1]
anything