remove ^M chars, disable shading language extensions
[mesa.git] / src / mesa / main / accum.h
index 4c39a3ebc88cda738675a88adc00e3b467334a2e..ce92688a5b980ac74edbe6c02ddabc2dc9c0f67e 100644 (file)
@@ -1,10 +1,18 @@
-/* $Id: accum.h,v 1.5 2000/11/22 07:32:16 joukj Exp $ */
+/**
+ * \file accum.h
+ * Accumulation buffer operations.
+ * 
+ * \if subset
+ * (No-op)
+ *
+ * \endif
+ */
 
 /*
  * Mesa 3-D graphics library
- * Version:  3.1
+ * Version:  3.5
  *
- * Copyright (C) 1999  Brian Paul   All Rights Reserved.
+ * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
  */
 
 
+
 #ifndef ACCUM_H
 #define ACCUM_H
 
 
 #include "mtypes.h"
 
+#if _HAVE_FULL_GL
 
-extern void
+extern void GLAPIENTRY
 _mesa_Accum( GLenum op, GLfloat value );
 
 
-extern void
+extern void GLAPIENTRY
 _mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
 
+extern void 
+_mesa_init_accum( GLcontext *ctx );
+
+#else
+
+/** No-op */
+#define _mesa_init_accum( c ) ((void)0)
+
+#endif
 
 #endif