/contrib/sdk/sources/Mesa/src/mesa/state_tracker/st_cb_feedback.c |
---|
85,9 → 85,11 |
const GLfloat *color, *texcoord; |
GLuint slot; |
/* Recall that Y=0=Top of window for Gallium wincoords */ |
win[0] = v->data[0][0]; |
if (st_fb_orientation(ctx->DrawBuffer) == Y_0_TOP) |
win[1] = ctx->DrawBuffer->Height - v->data[0][1]; |
else |
win[1] = v->data[0][1]; |
win[2] = v->data[0][2]; |
win[3] = 1.0F / v->data[0][3]; |
/contrib/sdk/sources/Mesa/src/mesa/state_tracker/st_draw.c |
---|
209,9 → 209,6 |
if (st->dirty.st || ctx->NewDriverState) { |
st_validate_state(st); |
if (st->vertex_array_out_of_memory) |
return; |
#if 0 |
if (MESA_VERBOSE & VERBOSE_GLSL) { |
check_uniforms(ctx); |
221,6 → 218,10 |
#endif |
} |
if (st->vertex_array_out_of_memory) { |
return; |
} |
util_draw_init_info(&info); |
if (ib) { |
/* Get index bounds for user buffers. */ |