X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmesa%2Fmain%2Faccum.c;h=df6f219bf301ff365f48a2589a90312e7df2e628;hb=8fe6755ed52acfb88a7a787c3406b64fcdd80e6e;hp=a8c30c22399f98968eb3c268ddb846ce50ebfd85;hpb=aee96806f049c17384a8edc11acce76257d98a57;p=mesa.git diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c index a8c30c22399..df6f219bf30 100644 --- a/src/mesa/main/accum.c +++ b/src/mesa/main/accum.c @@ -117,19 +117,6 @@ _mesa_init_accum_dispatch(struct _glapi_table *disp) } -#endif /* FEATURE_accum */ - - -void -_mesa_init_accum( struct gl_context *ctx ) -{ - /* Accumulate buffer group */ - ASSIGN_4V( ctx->Accum.ClearColor, 0.0, 0.0, 0.0, 0.0 ); -} - - - - /** * Clear the accumulation buffer by mapping the renderbuffer and * writing the clear color to it. Called by the driver's implementation @@ -507,3 +494,14 @@ _mesa_accum(struct gl_context *ctx, GLenum op, GLfloat value) break; } } + + +#endif /* FEATURE_accum */ + + +void +_mesa_init_accum( struct gl_context *ctx ) +{ + /* Accumulate buffer group */ + ASSIGN_4V( ctx->Accum.ClearColor, 0.0, 0.0, 0.0, 0.0 ); +}