projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0500404
)
st/egl: Create primary texture not display target
author
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 5 Aug 2009 18:15:21 +0000
(19:15 +0100)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 5 Aug 2009 18:29:30 +0000
(19:29 +0100)
src/gallium/state_trackers/egl/egl_surface.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/egl/egl_surface.c
b/src/gallium/state_trackers/egl/egl_surface.c
index 7413c9b73b8916f8a9a57d3463bbdadefe5a5d98..d4cd2d3c743e442432494deb92bf1b89e462d3b9 100644
(file)
--- a/
src/gallium/state_trackers/egl/egl_surface.c
+++ b/
src/gallium/state_trackers/egl/egl_surface.c
@@
-98,8
+98,8
@@
drm_create_texture(_EGLDriver *drv,
goto err_buf;
memset(&templat, 0, sizeof(templat));
- templat.tex_usage
|= PIPE_TEXTURE_USAGE_DISPLAY
_TARGET;
- templat.tex_usage |= PIPE_TEXTURE_USAGE_
RENDER_TARGET
;
+ templat.tex_usage
= PIPE_TEXTURE_USAGE_RENDER
_TARGET;
+ templat.tex_usage |= PIPE_TEXTURE_USAGE_
PRIMARY
;
templat.target = PIPE_TEXTURE_2D;
templat.last_level = 0;
templat.depth[0] = 1;