Merge remote branch 'origin/7.8'
[mesa.git] / src / gallium / auxiliary / util / u_surface.h
index 3c60df2c3e52249991ca3c92b5a3ebcd94c8afcf..119fcd4ce8e787ecfe1230449e5128d5d404a919 100644 (file)
@@ -52,13 +52,13 @@ util_same_surface(const struct pipe_surface *s1, const struct pipe_surface *s2)
 
 extern boolean
 util_create_rgba_surface(struct pipe_screen *screen,
-                         uint width, uint height,
-                         struct pipe_texture **textureOut,
+                         uint width, uint height, uint bind,
+                         struct pipe_resource **textureOut,
                          struct pipe_surface **surfaceOut);
 
 
 extern void
-util_destroy_rgba_surface(struct pipe_texture *texture,
+util_destroy_rgba_surface(struct pipe_resource *texture,
                           struct pipe_surface *surface);