Rebased to gallium-0.2, Jan 24 2009.

This commit is contained in:
Corbin Simpson
2009-01-24 06:21:00 -08:00
parent 188f61d43a
commit f40e6988bd
-1
View File
@@ -120,7 +120,6 @@ static struct pipe_surface* r300_get_tex_surface(struct pipe_screen* screen,
if (surface) {
surface->refcount = 1;
surface->winsys = screen->winsys;
pipe_texture_reference(&surface->texture, texture);
pipe_buffer_reference(screen, &surface->buffer, tex->buffer);
surface->format = texture->format;