pike.git / lib / modules / GL.pmod / GLSLUtils.pmod

version» Context lines:

pike.git/lib/modules/GL.pmod/GLSLUtils.pmod:1: + #pike __REAL_VERSION__ +    //! This module contains various utilities that greatly simplifies   //! working with GLSL and some other extensions such as vertex buffers   //! and render buffers.      #require constant(GL.GLSL)   import GL;   import GLSL;      #define CHECK_ERROR(X) do{while(int err = glGetError()) { werror(#X ": glerror #%x\n", err);}}while(0)