Difference for arch/ogl/include/ogl_init.h from version 1.6 to 1.7


version 1.6 version 1.7
Line 20
 
Line 20
 #define OGL_TEXREPEAT() OGL_DISABLE2(GL_texclamp,glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);)  #define OGL_TEXREPEAT() OGL_DISABLE2(GL_texclamp,glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);)
   
   
   extern int last_width,last_height;
   #define OGL_VIEWPORT(x,y,w,h){if (w!=last_width || h!=last_height){glViewport(x,y,w,h);last_width=w;last_height=h;}}
   
 //platform specific funcs  //platform specific funcs
 //MSVC seems to have problems with inline funcs not being found during linking  //MSVC seems to have problems with inline funcs not being found during linking
 #ifndef _MSC_VER  #ifndef _MSC_VER

Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7