nouveau: Frontbuffer needs to be marked as linear.

This commit is contained in:
Younes Manton
2009-03-24 18:55:37 -04:00
parent c4c4358e08
commit 578af51610
@@ -199,7 +199,8 @@ dri_surface_from_handle(struct pipe_screen *screen,
return NULL;
memset(&templat, 0, sizeof(templat));
templat.tex_usage |= PIPE_TEXTURE_USAGE_RENDER_TARGET;
templat.tex_usage = PIPE_TEXTURE_USAGE_PRIMARY |
NOUVEAU_TEXTURE_USAGE_LINEAR;
templat.target = PIPE_TEXTURE_2D;
templat.last_level = 0;
templat.depth[0] = 1;