… | |
… | |
441 | SDL_Rect **m; |
441 | SDL_Rect **m; |
442 | |
442 | |
443 | SDL_GL_SetAttribute (SDL_GL_RED_SIZE, 5); |
443 | SDL_GL_SetAttribute (SDL_GL_RED_SIZE, 5); |
444 | SDL_GL_SetAttribute (SDL_GL_GREEN_SIZE, 5); |
444 | SDL_GL_SetAttribute (SDL_GL_GREEN_SIZE, 5); |
445 | SDL_GL_SetAttribute (SDL_GL_BLUE_SIZE, 5); |
445 | SDL_GL_SetAttribute (SDL_GL_BLUE_SIZE, 5); |
446 | SDL_GL_SetAttribute (SDL_GL_ALPHA_SIZE, 16); |
446 | SDL_GL_SetAttribute (SDL_GL_ALPHA_SIZE, 1); |
447 | |
447 | |
448 | SDL_GL_SetAttribute (SDL_GL_BUFFER_SIZE, 64); |
448 | SDL_GL_SetAttribute (SDL_GL_BUFFER_SIZE, 15); |
449 | SDL_GL_SetAttribute (SDL_GL_DEPTH_SIZE, 0); |
449 | SDL_GL_SetAttribute (SDL_GL_DEPTH_SIZE, 0); |
450 | |
450 | |
451 | SDL_GL_SetAttribute (SDL_GL_ACCUM_RED_SIZE, 0); |
451 | SDL_GL_SetAttribute (SDL_GL_ACCUM_RED_SIZE, 0); |
452 | SDL_GL_SetAttribute (SDL_GL_ACCUM_GREEN_SIZE, 0); |
452 | SDL_GL_SetAttribute (SDL_GL_ACCUM_GREEN_SIZE, 0); |
453 | SDL_GL_SetAttribute (SDL_GL_ACCUM_BLUE_SIZE, 0); |
453 | SDL_GL_SetAttribute (SDL_GL_ACCUM_BLUE_SIZE, 0); |
… | |
… | |
469 | XPUSHs (sv_2mortal (newRV_noinc ((SV *)av))); |
469 | XPUSHs (sv_2mortal (newRV_noinc ((SV *)av))); |
470 | |
470 | |
471 | ++m; |
471 | ++m; |
472 | } |
472 | } |
473 | } |
473 | } |
|
|
474 | |
|
|
475 | char * |
|
|
476 | SDL_GetError () |
474 | |
477 | |
475 | int |
478 | int |
476 | SDL_SetVideoMode (int w, int h, int fullscreen) |
479 | SDL_SetVideoMode (int w, int h, int fullscreen) |
477 | CODE: |
480 | CODE: |
478 | RETVAL = !!SDL_SetVideoMode ( |
481 | RETVAL = !!SDL_SetVideoMode ( |