diff options
author | Brian Paul <[email protected]> | 2012-01-16 10:54:23 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-24 14:12:08 -0700 |
commit | ca6d86d26b1726b13baa21b73fe9d426f28370e2 (patch) | |
tree | 158b38f1403f66857a8751c482984d8df54546b6 /src/mesa/state_tracker/st_cb_eglimage.c | |
parent | ff57b0f037a45b0d5ced38234f0a8b29d32e7f9d (diff) |
st/mesa: remove gl_renderbuffer:DataType assignments
That field is only used by swrast code so there's no reason to mess
with it in the gallium state tracker.
This also lets us remove the unused st_format_data() type function and
related code.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_eglimage.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_eglimage.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_eglimage.c b/src/mesa/state_tracker/st_cb_eglimage.c index 5209fc795d3..e91e9142da7 100644 --- a/src/mesa/state_tracker/st_cb_eglimage.c +++ b/src/mesa/state_tracker/st_cb_eglimage.c @@ -86,7 +86,6 @@ st_egl_image_target_renderbuffer_storage(struct gl_context *ctx, strb->Base.Width = ps->width; strb->Base.Height = ps->height; strb->Base.Format = st_pipe_format_to_mesa_format(ps->format); - strb->Base.DataType = st_format_datatype(ps->format); strb->Base._BaseFormat = st_pipe_format_to_base_format(ps->format); strb->Base.InternalFormat = strb->Base._BaseFormat; |