From: Neils Wagenaar Date: Wed, 6 Oct 2004 15:00:15 +0000 (+0000) Subject: Expended OpenGL rendering with 16, 24 and 32 bit texture types. X-Git-Tag: 1.0.7~5 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d727c6109d7c0d1fe5d68fd3d36089788923c3e;hp=413aeb099b2982e60bc095a7e404fd2fefff4d7f;p=virtualjaguar Expended OpenGL rendering with 16, 24 and 32 bit texture types. --- diff --git a/src/include/sdlemu_opengl.h b/src/include/sdlemu_opengl.h index 0f7e495..8ec090f 100644 --- a/src/include/sdlemu_opengl.h +++ b/src/include/sdlemu_opengl.h @@ -28,10 +28,10 @@ extern "C" { #endif -void sdlemu_init_opengl(SDL_Surface * src, int texturetype, float size, int filter); +void sdlemu_init_opengl(SDL_Surface * src, int texturetype, float size, int filter, int src_bpp); void sdlemu_draw_texture(SDL_Surface * dst, SDL_Surface * src, int texturetype); void sdlemu_close_opengl(void); -void sdlemu_resize_texture(SDL_Surface * src, SDL_Surface * dst, int filter); +void sdlemu_resize_texture(SDL_Surface * src, SDL_Surface * dst, int filter, int src_bpp); #ifdef __cplusplus }