SDL2 Wrapper Not Working Under 4.1.0

new topic     » topic index » view thread      » older message » newer message

Hello All,

My SDL2 Wrapper that I wrote in Euphoria does not seem to work in 4.1.0 beta. I even re-wrote it from scratch and nothing appears to be working. No window pops up or nothing. It seems to run, then exits. I've put in checks, but nothing seems to pop up. It does work under 4.0.5

 
include std/machine.e 
include flags.ew 
include EuSDL2.ew 
 
atom dummy = SDL_Init(SDL_INIT_VIDEO) 
 
if dummy = -1 then 
	puts(1,"Could not init SDL!\n") 
end if 
 
atom win = SDL_CreateWindow("Win",SDL_WINDOWPOS_CENTERED,SDL_WINDOWPOS_CENTERED,640,480,SDL_WINDOW_SHOWN) 
 
if win = -1 then 
	puts(1,"Could not create window!\n") 
end if 
 
SDL_Delay(3000) 
 
SDL_Quit() 
 

I can upload the re-wrtten version if it is needed. I plan to, I just wanna see if I can get it all to work before I upload it.

Specs: CPU: Intel Core Duo 2 - 2.10 Ghz RAM: 4GB Gfx: Nivida Geforce 8600M GS OS: Windows 7 Ultimate

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu