Started by 岩倉 澪, January 28, 2015, 08:43:25 am
0 Members and 2 Guests are viewing this topic.
auto window = SDL_CreateWindow("An SDL2 window", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, width, height, SDL_WINDOW_OPENGL);assert(window, SDL_GetError()); //doesn't work because SDL_GetError returns a C string and assert takes a D string
[email protected]/walrus.d(42): Failed to create window because you lost the game[email protected]/cassert.d(18): Assertion failure
CodeWalr.us 2.0 © 2019, DJ Omnimaga & Juju
Page created in 0.045 seconds with 36 queries.