projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
android: fix cflags and includes for amdgpu winsys
[mesa.git]
/
src
/
gallium
/
drivers
/
svga
/
svga_context.c
diff --git
a/src/gallium/drivers/svga/svga_context.c
b/src/gallium/drivers/svga/svga_context.c
index 4da9a6551f6bdf02891a17eb087502b2b9f81426..0ffff9c506baebe873096c902696333b7e896ed7 100644
(file)
--- a/
src/gallium/drivers/svga/svga_context.c
+++ b/
src/gallium/drivers/svga/svga_context.c
@@
-92,6
+92,8
@@
struct pipe_context *svga_context_create( struct pipe_screen *screen,
if (svga == NULL)
goto no_svga;
+ LIST_INITHEAD(&svga->dirty_buffers);
+
svga->pipe.screen = screen;
svga->pipe.priv = priv;
svga->pipe.destroy = svga_destroy;
@@
-154,8
+156,6
@@
struct pipe_context *svga_context_create( struct pipe_screen *screen,
svga->dirty = ~0;
- LIST_INITHEAD(&svga->dirty_buffers);
-
return &svga->pipe;
no_state: