summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2009-11-27 17:15:47 +0100
committerRoland Scheidegger <sroland@vmware.com>2009-11-27 17:15:47 +0100
commitc95cbd45c657ac47e908a4d99d118737034bde43 (patch)
tree68e6c2b91f97fadbe4dd073b9f7acaf5ee8d79cf /src/gallium/state_trackers/egl
parent884007546c98b1779bf266ec5111b1e7e2b68b2e (diff)
parentd509f84543d0979e9bb53c20c195f378dd61e728 (diff)
Merge branch 'width0'
Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
Diffstat (limited to 'src/gallium/state_trackers/egl')
-rw-r--r--src/gallium/state_trackers/egl/egl_surface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/egl/egl_surface.c b/src/gallium/state_trackers/egl/egl_surface.c
index 91615abebe..ddd9b04cd4 100644
--- a/src/gallium/state_trackers/egl/egl_surface.c
+++ b/src/gallium/state_trackers/egl/egl_surface.c
@@ -114,10 +114,10 @@ drm_create_texture(_EGLDisplay *dpy,
templat.tex_usage |= PIPE_TEXTURE_USAGE_PRIMARY;
templat.target = PIPE_TEXTURE_2D;
templat.last_level = 0;
- templat.depth[0] = 1;
+ templat.depth0 = 1;
templat.format = PIPE_FORMAT_A8R8G8B8_UNORM;
- templat.width[0] = w;
- templat.height[0] = h;
+ templat.width0 = w;
+ templat.height0 = h;
pf_get_block(templat.format, &templat.block);
texture = screen->texture_create(dev->screen,