TINYGL: Fixed a few mistakes during the refactoring.
This commit is contained in:
parent
c1040a9cdf
commit
b7853b48f8
7 changed files with 135 additions and 87 deletions
|
@ -46,10 +46,10 @@ void tglGetFloatv(int pname, float *v) {
|
|||
mnr++;
|
||||
case TGL_MODELVIEW_MATRIX: {
|
||||
for (i = 0; i < 4; i++) {
|
||||
*v++ = c->matrix_stack_ptr[mnr]->get(0,i);
|
||||
*v++ = c->matrix_stack_ptr[mnr]->get(1,i);
|
||||
*v++ = c->matrix_stack_ptr[mnr]->get(2,i);
|
||||
*v++ = c->matrix_stack_ptr[mnr]->get(3,i);
|
||||
*v++ = c->matrix_stack_ptr[mnr]->get(i,0);
|
||||
*v++ = c->matrix_stack_ptr[mnr]->get(i,1);
|
||||
*v++ = c->matrix_stack_ptr[mnr]->get(i,2);
|
||||
*v++ = c->matrix_stack_ptr[mnr]->get(i,3);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue