diff options
author | Younes Manton <younes.m@gmail.com> | 2008-09-09 02:27:05 -0400 |
---|---|---|
committer | Younes Manton <younes.m@gmail.com> | 2008-09-12 14:31:07 -0400 |
commit | 42a42dec3dbb5e150584b3d0b2e14e9b555a4ac1 (patch) | |
tree | a956d8c015bdd578d9c35ac9f6a87ac596dfcefd /src/gallium/state_trackers/g3dvl/vl_surface.c | |
parent | 59f23e92e24b93eb48f4e0552dd8e397aefd1714 (diff) |
g3dvl: Fullscreen fixes. Respect src & dst coords during scaling, clear FB.
Diffstat (limited to 'src/gallium/state_trackers/g3dvl/vl_surface.c')
-rw-r--r-- | src/gallium/state_trackers/g3dvl/vl_surface.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/g3dvl/vl_surface.c b/src/gallium/state_trackers/g3dvl/vl_surface.c index 687fd1ec29..07a9be2a99 100644 --- a/src/gallium/state_trackers/g3dvl/vl_surface.c +++ b/src/gallium/state_trackers/g3dvl/vl_surface.c @@ -104,6 +104,8 @@ int vlPutPicture int desty, int destw, int desth, + int drawable_w, + int drawable_h, enum vlPictureType picture_type ) { @@ -118,7 +120,7 @@ int vlPutPicture csc = surface->context->csc; pipe = surface->context->pipe; - csc->vlResizeFrameBuffer(csc, destw, desth); + csc->vlResizeFrameBuffer(csc, drawable_w, drawable_h); csc->vlBegin(csc); |