diff options
Diffstat (limited to 'src/gallium/tests')
-rw-r--r-- | src/gallium/tests/raw/SConscript | 3 | ||||
-rw-r--r-- | src/gallium/tests/raw/clear.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/tests/raw/SConscript b/src/gallium/tests/raw/SConscript index 073b979..1b172e0 100644 --- a/src/gallium/tests/raw/SConscript +++ b/src/gallium/tests/raw/SConscript @@ -1,5 +1,8 @@ Import('*') +if 'graw-xlib' not in env['winsys']: + Return() + env = env.Clone() env.Prepend(LIBPATH = [graw.dir]) diff --git a/src/gallium/tests/raw/clear.c b/src/gallium/tests/raw/clear.c index 706e3be..5202900 100644 --- a/src/gallium/tests/raw/clear.c +++ b/src/gallium/tests/raw/clear.c @@ -26,7 +26,7 @@ int main( int argc, char *argv[] ) struct pipe_context *pipe; struct pipe_surface *surf; struct pipe_framebuffer_state fb; - struct pipe_texture *tex, templat; + struct pipe_resource *tex, templat; void *window = NULL; float clear_color[4] = {1,0,1,1}; int i; |