mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 20:10:24 +01:00
nouveau: nv20: texture matrix
This commit is contained in:
parent
66d8e55184
commit
0fccb646e0
1 changed files with 4 additions and 1 deletions
|
|
@ -617,7 +617,10 @@ void (*TexParameter)(GLcontext *ctx, GLenum target,
|
|||
|
||||
static void nv20TextureMatrix(GLcontext *ctx, GLuint unit, const GLmatrix *mat)
|
||||
{
|
||||
/* TODO */
|
||||
nouveauContextPtr nmesa = NOUVEAU_CONTEXT(ctx);
|
||||
BEGIN_RING_CACHE(NvSub3D, NV20_TCL_PRIMITIVE_3D_TX_MATRIX(unit, 0), 16);
|
||||
/*XXX: This SHOULD work.*/
|
||||
OUT_RING_CACHEp(mat->m, 16);
|
||||
}
|
||||
|
||||
/* Update anything that depends on the window position/size */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue