Subversion Repositories Kolibri OS

Rev

Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4358 Rev 4401
Line 83... Line 83...
83
   const struct st_context *st = st_context(ctx);
83
   const struct st_context *st = st_context(ctx);
84
   GLfloat win[4];
84
   GLfloat win[4];
85
   const GLfloat *color, *texcoord;
85
   const GLfloat *color, *texcoord;
86
   GLuint slot;
86
   GLuint slot;
Line 87... Line -...
87
 
-
 
88
   /* Recall that Y=0=Top of window for Gallium wincoords */
87
 
-
 
88
   win[0] = v->data[0][0];
89
   win[0] = v->data[0][0];
89
   if (st_fb_orientation(ctx->DrawBuffer) == Y_0_TOP)
-
 
90
   win[1] = ctx->DrawBuffer->Height - v->data[0][1];
-
 
91
   else
90
   win[1] = ctx->DrawBuffer->Height - v->data[0][1];
92
      win[1] = v->data[0][1];
91
   win[2] = v->data[0][2];
93
   win[2] = v->data[0][2];
Line 92... Line 94...
92
   win[3] = 1.0F / v->data[0][3];
94
   win[3] = 1.0F / v->data[0][3];
93
 
95