![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on SDL Cursor on Load / Optimizations within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Does anyone know what causes there to be a cursor in the upper left corner of the screen when running ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
Does anyone know what causes there to be a cursor in the upper left corner of the screen when running an SDL program? It seemed that SDL_NOFRAME got rid of it on SDL_HWSURFACE, but on SWSURFACE it seems to be back (but I could be wrong). Anyone have any tips to get rid of it?
Also on that note... Any SDL developers... what values do you use to SDL_SetVideoMode. I'm not seeing much of a difference, although the game feels "funny" on certain settings. When I add double buffering to this option, I get a funny flicker effect on my screen fades (seems backwards? Flicker WITH double buffering?) Currently I'm using this: Code:
screen = SDL_SetVideoMode(480, 272, 32,SDL_SWSURFACE|SDL_NOFRAME); but I'm not sure that's the best... Any tips? This is my first work with SDL on the PSP.
__________________
[URL=http://www.framerate.info/psp][IMG]http://www.framerate.info/_hosted/imageupload/signature.gif[/IMG][/URL] |
|
|
|
|
|
#2 |
![]() ![]() 100% Pure Awesome
|
http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fShowCursor
Hope this helps. It is the api reference to the SDL_ShowCursor() function. |
|
|
|
|
|
#3 |
![]() |
hahah thanks Ravine. I can't believe it's something that simple. I thought it had to do with the init or sure!
__________________
[URL=http://www.framerate.info/psp][IMG]http://www.framerate.info/_hosted/imageupload/signature.gif[/IMG][/URL] |
|
|
|
![]() |
| Tags |
| cursor , load , optimizations , sdl |
| Thread Tools | |
|
|