projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965: Fix occlusion query on sandybridge
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
mga
/
mgarender.c
diff --git
a/src/mesa/drivers/dri/mga/mgarender.c
b/src/mesa/drivers/dri/mga/mgarender.c
index 517c3b8f82c10de29b753028ef8322742f71cda0..f10a91adcec25306b94d6d763071b84a41b3c936 100644
(file)
--- a/
src/mesa/drivers/dri/mga/mgarender.c
+++ b/
src/mesa/drivers/dri/mga/mgarender.c
@@
-44,11
+44,12
@@
USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "main/imports.h"
#include "main/mtypes.h"
#include "main/imports.h"
#include "main/mtypes.h"
+#include "math/m_xform.h"
+
#include "tnl/t_context.h"
#include "mgacontext.h"
#include "mgatris.h"
#include "tnl/t_context.h"
#include "mgacontext.h"
#include "mgatris.h"
-#include "mgastate.h"
#include "mgaioctl.h"
#include "mgavb.h"
#include "mgaioctl.h"
#include "mgavb.h"
@@
-65,7
+66,7
@@
USE OR OTHER DEALINGS IN THE SOFTWARE.
#define HAVE_ELTS 0 /* for now */
#define HAVE_ELTS 0 /* for now */
-static void mgaDmaPrimitive(
GL
context *ctx, GLenum prim )
+static void mgaDmaPrimitive(
struct gl_
context *ctx, GLenum prim )
{
mgaContextPtr mmesa = MGA_CONTEXT(ctx);
GLuint hwprim;
{
mgaContextPtr mmesa = MGA_CONTEXT(ctx);
GLuint hwprim;
@@
-123,7
+124,7
@@
static void mgaDmaPrimitive( GLcontext *ctx, GLenum prim )
/**********************************************************************/
/**********************************************************************/
-static GLboolean mga_run_render(
GL
context *ctx,
+static GLboolean mga_run_render(
struct gl_
context *ctx,
struct tnl_pipeline_stage *stage )
{
mgaContextPtr mmesa = MGA_CONTEXT(ctx);
struct tnl_pipeline_stage *stage )
{
mgaContextPtr mmesa = MGA_CONTEXT(ctx);