I’ve created a window on OSX but the title bar is blank; no widgets, no title, nothing. Any idea what I’m missing? Any help would be greatly appreciated;
The code is (almost entirely) cut & paste from Lazy Foo’s excellent tutorial website;
// Intitialize the SDL
if (SDL_Init( SDL_INIT_VIDEO ) < 0){
printf("SDL Could not be initialized! SDL Error %s\n", SDL_GetError() );
success = false;
}
else {
gWindow = SDL_CreateWindow("Rex Pictorum", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, SCREEN_WIDTH,SCREEN_HEIGHT, SDL_WINDOW_SHOWN);
SDL_SetWindowTitle(gWindow, "Rex Pictorum");
}
Thanks in advance