Displaying 2 results from an estimated 2 matches for "sdl_geterror".
2009 May 12
2
compile error of libtheora example
...0x15): undefined reference to `ogg_sync_buffer'
player_example.c:(.text+0x4f): undefined reference to `ogg_sync_wrote'
/tmp/ccpyle3c.o: In function `open_video':
player_example.c:(.text+0x7a5): undefined reference to `SDL_Init'
player_example.c:(.text+0x7ae): undefined reference to `SDL_GetError'
player_example.c:(.text+0x7fc): undefined reference to `SDL_SetVideoMode'
player_example.c:(.text+0x80f): undefined reference to `SDL_GetError'
player_example.c:(.text+0x873): undefined reference to
`SDL_CreateYUVOverlay'
player_example.c:(.text+0x886): undefined reference to `SDL_...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...DL_FULLSCREEN;
- flags &= ~SDL_RESIZABLE;
- }
if (gui_noframe)
flags |= SDL_NOFRAME;
- width = w;
- height = h;
-
- again:
- screen = SDL_SetVideoMode(w, h, 0, flags);
-
- if (!screen) {
- fprintf(stderr, "Could not open SDL display: %s\n", SDL_GetError());
+ width = ds_get_width(ds);
+ height = ds_get_height(ds);
+ real_screen = SDL_SetVideoMode(width, height, 0, flags);
+ if (!real_screen) {
if (opengl_enabled) {
/* Fallback to SDL */
opengl_enabled = 0;
- ds->dpy_update = sdl_update;...