--- deliantra/Deliantra-Client/Client.xs 2006/04/20 09:13:31 1.56 +++ deliantra/Deliantra-Client/Client.xs 2006/04/21 07:09:10 1.57 @@ -35,6 +35,8 @@ typedef signed int int32_t; #endif +#include "glext.h" + #define FOW_DARKNESS 32 #define MAP_EXTEND_X 32 @@ -251,7 +253,7 @@ ev.data1 = 0; ev.data2 = 0; - SDL_PushEvent (&ev); + SDL_PushEvent ((SDL_Event *)&ev); } MODULE = CFClient PACKAGE = CFClient @@ -1325,6 +1327,12 @@ const_iv (GL_REPEAT), const_iv (GL_NEAREST), const_iv (GL_LINEAR), + const_iv (GL_NEAREST_MIPMAP_NEAREST), + const_iv (GL_LINEAR_MIPMAP_NEAREST), + const_iv (GL_NEAREST_MIPMAP_LINEAR), + const_iv (GL_LINEAR_MIPMAP_LINEAR), + const_iv (GL_GENERATE_MIPMAP), + const_iv (GL_LINEAR), const_iv (GL_MODULATE), const_iv (GL_REPLACE), const_iv (GL_COLOR_BUFFER_BIT),