summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_surface.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-12 02:39:13 +1100
committerBen Skeggs <[email protected]>2008-03-12 02:39:13 +1100
commitb2e48f848496d5e315e536688c8c33dfb1fab7eb (patch)
treebf9425f123fdfc58e2a605676067432971e28a9a /src/gallium/drivers/nv50/nv50_surface.c
parent1fb3c94f03e07a80bb7a93777d4fef5173da71ca (diff)
nv50: convert to hwctx-in-screen as nv40 is
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_surface.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_surface.c b/src/gallium/drivers/nv50/nv50_surface.c
index 39cf675a57c..4e294198b07 100644
--- a/src/gallium/drivers/nv50/nv50_surface.c
+++ b/src/gallium/drivers/nv50/nv50_surface.c
@@ -40,7 +40,7 @@ nv50_surface_copy(struct pipe_context *pipe, unsigned flip,
unsigned width, unsigned height)
{
struct nv50_context *nv50 = (struct nv50_context *)pipe;
- struct nouveau_winsys *nvws = nv50->nvws;
+ struct nouveau_winsys *nvws = nv50->screen->nvws;
nvws->surface_copy(nvws, dest, destx, desty, src, srcx, srcy,
width, height);
@@ -52,7 +52,7 @@ nv50_surface_fill(struct pipe_context *pipe, struct pipe_surface *dest,
unsigned height, unsigned value)
{
struct nv50_context *nv50 = (struct nv50_context *)pipe;
- struct nouveau_winsys *nvws = nv50->nvws;
+ struct nouveau_winsys *nvws = nv50->screen->nvws;
nvws->surface_fill(nvws, dest, destx, desty, width, height, value);
}