view src/main/symbian/EKA2/sdllib.cpp @ 4143:73e7e7f5b5a1 SDL-1.2

Don't recreate the GL content in windib target if SDL_SetVideoMode() is being called in response to a window resize event...prevents loss of GL state and objects.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 12 Mar 2008 22:01:48 +0000
parents e85e65aec22f
children
line wrap: on
line source

#include<eikstart.h>
#include<sdlmain.h>
#include<sdlepocapi.h>


GLREF_C TInt E32Main()
    {
    return SDLEnv::SetMain(SDL_main, CSDL::EEnableFocusStop | CSDL::EAllowImageResize,
     NULL, SDLEnv::EParamQuery | SDLEnv::EVirtualMouse);
    }