projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Use pipe_buffer_write_nooverlap where appropriate.
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_cb_viewport.c
diff --git
a/src/mesa/state_tracker/st_cb_viewport.c
b/src/mesa/state_tracker/st_cb_viewport.c
index 6adf3162c1e86ec6974b354b087be0b379c99990..d8bd24405ceac022ecf083f5dca7f774aeb6e5bd 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_viewport.c
+++ b/
src/mesa/state_tracker/st_cb_viewport.c
@@
-27,21
+27,21
@@
#include "main/glheader.h"
#include "st_context.h"
#include "main/glheader.h"
#include "st_context.h"
-#include "st_public.h"
#include "st_cb_viewport.h"
#include "pipe/p_context.h"
#include "st_cb_viewport.h"
#include "pipe/p_context.h"
-#include "pipe/p_inlines.h"
#include "pipe/p_state.h"
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
#include "pipe/p_defines.h"
+#include "pipe/internal/p_winsys_screen.h"
+
static void st_viewport(GLcontext * ctx, GLint x, GLint y,
GLsizei width, GLsizei height)
{
struct st_context *st = ctx->st;
static void st_viewport(GLcontext * ctx, GLint x, GLint y,
GLsizei width, GLsizei height)
{
struct st_context *st = ctx->st;
- if (st->pipe->
winsys
)
- st->pipe->
winsys->update_buffer( st->pipe->winsys
,
+ if (st->pipe->
screen && st->pipe->screen->update_buffer
)
+ st->pipe->
screen->update_buffer( st->pipe->screen
,
st->pipe->priv );
}
st->pipe->priv );
}