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 30e4a606bb79ea78819b02f50ea3b860f2f788fb..9c213b9b4c0e05054f7d41df34353f3e13e4a0b1 100644
(file)
--- a/
src/mesa/main/polygon.c
+++ b/
src/mesa/main/polygon.c
@@
-34,6
+34,7
@@
#include "context.h"
#include "image.h"
#include "enums.h"
#include "context.h"
#include "image.h"
#include "enums.h"
+#include "pack.h"
#include "polygon.h"
#include "mtypes.h"
#include "polygon.h"
#include "mtypes.h"
@@
-190,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,
@@
-293,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;