On Mon, Nov 4, 2013 at 1:05 PM, Alexander von Gluck IV
<kallis...@unixzen.com> wrote:
* Call mesa viewport call on winndow resize
* Add initial postprocessing code
* Pass hgl_context to private statetracker
as it is more useful than GalliumContext
* Use Lock and Unlock functions to standardize
GalliumContext locking
* Create texture resources in texture validation
---
+ switch(statts[i]) {
+ case ST_ATTACHMENT_FRONT_LEFT:
+ format =
context->stVisual->color_format;
+ bind = PIPE_BIND_RENDER_TARGET;
+ case ST_ATTACHMENT_DEPTH_STENCIL:
+ format =
context->stVisual->depth_stencil_format;
+ bind = PIPE_BIND_DEPTH_STENCIL;
+ case ST_ATTACHMENT_ACCUM:
+ format =
context->stVisual->accum_format;
+ bind = PIPE_BIND_RENDER_TARGET;
+ default:
+ ERROR("%s: Unexpected attachment
type!\n", __func__);
+ }
Just realized that I forgot to put break's here in the switch.
Will fix before pushing if this patch is approved / ack'ed
-- Alex
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev