Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
71 user(s) are online (50 user(s) are browsing Forums)

Members: 0
Guests: 71

more...

Support us!

Recent OS4 Files
OS4Depot.net

Report message:*
 

Re: SDL2

Subject: Re: SDL2
by kas1e on 2019/2/3 13:31:33

@Capehill
For sake of tests i tried just that test code:

int result;
    
    if ( 
fullscr!=0){
            
result SDL_SetWindowFullscreen(glWindow,SDL_WINDOW_FULLSCREEN);
            if (
result == 0) { printf ("switch to FULLSCREEN mode fine!n");
            } else {
                
printf("Switch to FULLSCREEN mode failed: %sn"SDL_GetError());
            }
                
           
    } else if( 
fullscr==0){
            
result SDL_SetWindowFullscreen(glWindow,0);
            if (
result == 0) { printf ("switch to WINDOW mode fine!n");
            } else {
                
printf("Switch to WINDOW mode failed: %sn"SDL_GetError());
            }
            
    }


So when i press alt+enter , and before crash happens, i always have "success". So from SDL side all kind of "ok", the problem happens somewhere later.

I write mail to Daniel 2 days ago about, but he didn't answer, maybe it in the spam box , so tryed to reask in GL4ES thread, maybe we will be lucky there.


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project