projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: support for GL_ARB_instanced_arrays
[mesa.git]
/
src
/
mesa
/
main
/
polygon.c
diff --git
a/src/mesa/main/polygon.c
b/src/mesa/main/polygon.c
index 376a87a396770a8996980b27cd48d9dda9004d4b..9c213b9b4c0e05054f7d41df34353f3e13e4a0b1 100644
(file)
--- a/
src/mesa/main/polygon.c
+++ b/
src/mesa/main/polygon.c
@@
-34,7
+34,7
@@
#include "context.h"
#include "image.h"
#include "enums.h"
#include "context.h"
#include "image.h"
#include "enums.h"
-#include "
macros
.h"
+#include "
pack
.h"
#include "polygon.h"
#include "mtypes.h"
#include "polygon.h"
#include "mtypes.h"
@@
-191,7
+191,7
@@
_mesa_PolygonMode( GLenum face, GLenum mode )
* too.
*/
void
* too.
*/
void
-_mesa_polygon_stipple(
GL
context *ctx, const GLubyte *pattern)
+_mesa_polygon_stipple(
struct gl_
context *ctx, const GLubyte *pattern)
{
pattern = _mesa_map_validate_pbo_source(ctx, 2,
&ctx->Unpack, 32, 32, 1,
{
pattern = _mesa_map_validate_pbo_source(ctx, 2,
&ctx->Unpack, 32, 32, 1,
@@
-294,10
+294,10
@@
_mesa_PolygonOffsetEXT( GLfloat factor, GLfloat bias )
*
* \param ctx GL context.
*
*
* \param ctx GL context.
*
- * Initializes __
GLcontextRec::Polygon and __GL
contextRec::PolygonStipple
+ * Initializes __
struct gl_contextRec::Polygon and __struct gl_
contextRec::PolygonStipple
* attribute groups.
*/
* attribute groups.
*/
-void _mesa_init_polygon(
GL
context * ctx )
+void _mesa_init_polygon(
struct gl_
context * ctx )
{
/* Polygon group */
ctx->Polygon.CullFlag = GL_FALSE;
{
/* Polygon group */
ctx->Polygon.CullFlag = GL_FALSE;
@@
-316,7
+316,7
@@
void _mesa_init_polygon( GLcontext * ctx )
/* Polygon Stipple group */
/* Polygon Stipple group */
-
MEMSET
( ctx->PolygonStipple, 0xff, 32*sizeof(GLuint) );
+
memset
( ctx->PolygonStipple, 0xff, 32*sizeof(GLuint) );
}
/*@}*/
}
/*@}*/