version 1.23 | | version 1.24 |
---|
| | |
#include "loadgl.h" | | #include "loadgl.h" |
int ogl_init_load_library(void); | | int ogl_init_load_library(void); |
#else | | #else |
| | #define GL_GLEXT_PROTOTYPES |
#include <GL/gl.h> | | #include <GL/gl.h> |
#endif | | #endif |
| | |
| | |
#endif | | #endif |
extern int ogl_ext_texture_filter_anisotropic_ok; | | extern int ogl_ext_texture_filter_anisotropic_ok; |
| | |
| | #ifndef GL_EXT_shared_texture_palette |
| | #define GL_EXT_shared_texture_palette 1 |
| | #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB |
| | #endif |
| | |
| | #ifdef GL_EXT_paletted_texture |
| | extern int ogl_paletted_texture_ok; |
| | extern int ogl_shared_palette_ok; |
| | #endif |
| | void ogl_init_shared_palette(void); |
| | |
extern int gl_initialized; | | extern int gl_initialized; |
extern int GL_texmagfilt,GL_texminfilt,GL_needmipmaps; | | extern int GL_texmagfilt,GL_texminfilt,GL_needmipmaps; |
extern float GL_texanisofilt; | | extern float GL_texanisofilt; |
| | |
void ogl_loadbmtexture_m(grs_bitmap *bm,int domipmap); | | void ogl_loadbmtexture_m(grs_bitmap *bm,int domipmap); |
void ogl_loadbmtexture(grs_bitmap *bm); | | void ogl_loadbmtexture(grs_bitmap *bm); |
//void ogl_loadtexture(unsigned char * data, int width, int height,int dxo,int dyo, int *texid,float *u,float *v,char domipmap,float prio); | | //void ogl_loadtexture(unsigned char * data, int width, int height,int dxo,int dyo, int *texid,float *u,float *v,char domipmap,float prio); |
void ogl_loadtexture(unsigned char * data, int dxo,int dyo, ogl_texture *tex); | | void ogl_loadtexture(unsigned char * data, int dxo,int dyo, ogl_texture *tex, int bm_flags); |
void ogl_freetexture(ogl_texture *gltexture); | | void ogl_freetexture(ogl_texture *gltexture); |
void ogl_freebmtexture(grs_bitmap *bm); | | void ogl_freebmtexture(grs_bitmap *bm); |
void ogl_do_palfx(void); | | void ogl_do_palfx(void); |