Lines Matching refs:en
159 static void enable_disable(context_t* c, GGLenum name, int en) in enable_disable() argument
162 case GGL_BLEND: ggl_enable_blending(c, en); break; in enable_disable()
163 case GGL_SCISSOR_TEST: ggl_enable_scissor_test(c, en); break; in enable_disable()
164 case GGL_ALPHA_TEST: ggl_enable_alpha_test(c, en); break; in enable_disable()
165 case GGL_COLOR_LOGIC_OP: ggl_enable_logic_op(c, en); break; in enable_disable()
166 case GGL_DITHER: ggl_enable_dither(c, en); break; in enable_disable()
167 case GGL_STENCIL_TEST: ggl_enable_stencil_test(c, en); break; in enable_disable()
168 case GGL_DEPTH_TEST: ggl_enable_depth_test(c, en); break; in enable_disable()
169 case GGL_AA: ggl_enable_aa(c, en); break; in enable_disable()
170 case GGL_TEXTURE_2D: ggl_enable_texture2d(c, en); break; in enable_disable()
171 case GGL_W_LERP: ggl_enable_w_lerp(c, en); break; in enable_disable()
172 case GGL_FOG: ggl_enable_fog(c, en); break; in enable_disable()
173 case GGL_POINT_SMOOTH_NICE: ggl_enable_point_aa_nice(c, en); break; in enable_disable()
189 static void ggl_enableDisable(void* con, GGLenum name, GGLboolean en) in ggl_enableDisable() argument
192 enable_disable(c, name, en ? 1 : 0); in ggl_enableDisable()