[SDL] Getting the system resolution
Nuno Santos
developer at imaginando.net
Sat Dec 2 14:58:08 PST 2006
I have the latest version installed. Maybe the documentian is older...
How can i see if my version has the needed field?
Em Dec 2, 2006, às 10:46 PM, Brian escreveu:
> I believe its a new enough addition, you may need a newer version
> of SDL.
>
> On 12/2/06, Nuno Santos <developer at imaginando.net> wrote:
>> Hi,
>>
>> I'm looking to that structure and i don't see those fields:
>>
>> typedef struct{
>> Uint32 hw_available:1;
>> Uint32 wm_available:1;
>> Uint32 blit_hw:1;
>> Uint32 blit_hw_CC:1;
>> Uint32 blit_hw_A:1;
>> Uint32 blit_sw:1;
>> Uint32 blit_sw_CC:1;
>> Uint32 blit_sw_A:1;
>> Uint32 blit_fill;
>> Uint32 video_mem;
>> SDL_PixelFormat *vfmt;
>> } SDL_VideoInfo;
>>
>> Which one is it?
>>
>> And about the function. Did you mean SDL_GetVideoInfo()
>>
>> Thx,
>>
>> Best regards,
>>
>> Nuno
>>
>>
>> Em Dec 2, 2006, às 3:49 PM, Peter Mulholland escreveu:
>>
>>
>> Call SDL_GetVideoMode() before you call SDL_SetVideoMode(), and the
>>
>> SDL_VideoInfo structure will contain the desktop resolution.
>>
>> _______________________________________________
>> SDL mailing list
>> SDL at libsdl.org
>> http://www.libsdl.org/mailman/listinfo/sdl
>>
>>
>>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list