… | |
… | |
2956 | const_iv (GL_NICEST), |
2956 | const_iv (GL_NICEST), |
2957 | const_iv (GL_V2F), |
2957 | const_iv (GL_V2F), |
2958 | const_iv (GL_V3F), |
2958 | const_iv (GL_V3F), |
2959 | const_iv (GL_T2F_V3F), |
2959 | const_iv (GL_T2F_V3F), |
2960 | const_iv (GL_T2F_N3F_V3F), |
2960 | const_iv (GL_T2F_N3F_V3F), |
|
|
2961 | const_iv (GL_FUNC_ADD), |
|
|
2962 | const_iv (GL_FUNC_SUBTRACT), |
|
|
2963 | const_iv (GL_FUNC_REVERSE_SUBTRACT), |
2961 | # undef const_iv |
2964 | # undef const_iv |
2962 | }; |
2965 | }; |
2963 | |
2966 | |
2964 | for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) |
2967 | for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) |
2965 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
2968 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
… | |
… | |
2972 | disable_GL_EXT_blend_func_separate () |
2975 | disable_GL_EXT_blend_func_separate () |
2973 | CODE: |
2976 | CODE: |
2974 | gl.BlendFuncSeparate = 0; |
2977 | gl.BlendFuncSeparate = 0; |
2975 | gl.BlendFuncSeparateEXT = 0; |
2978 | gl.BlendFuncSeparateEXT = 0; |
2976 | |
2979 | |
|
|
2980 | void |
|
|
2981 | apple_nvidia_bug (int enable) |
|
|
2982 | |
2977 | char * |
2983 | char * |
2978 | gl_vendor () |
2984 | gl_vendor () |
2979 | CODE: |
2985 | CODE: |
2980 | RETVAL = (char *)glGetString (GL_VENDOR); |
2986 | RETVAL = (char *)glGetString (GL_VENDOR); |
2981 | OUTPUT: |
2987 | OUTPUT: |
… | |
… | |
3029 | void glBlendFunc (int sfactor, int dfactor) |
3035 | void glBlendFunc (int sfactor, int dfactor) |
3030 | |
3036 | |
3031 | void glBlendFuncSeparate (int sa, int da, int saa, int daa) |
3037 | void glBlendFuncSeparate (int sa, int da, int saa, int daa) |
3032 | CODE: |
3038 | CODE: |
3033 | gl_BlendFuncSeparate (sa, da, saa, daa); |
3039 | gl_BlendFuncSeparate (sa, da, saa, daa); |
|
|
3040 | |
|
|
3041 | void glBlendEquation (int se) |
3034 | |
3042 | |
3035 | void glDepthMask (int flag) |
3043 | void glDepthMask (int flag) |
3036 | |
3044 | |
3037 | void glLogicOp (int opcode) |
3045 | void glLogicOp (int opcode) |
3038 | |
3046 | |