diff options
author | Luca Barbieri <[email protected]> | 2010-04-02 02:36:59 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-04-02 02:36:59 +0200 |
commit | cbf4097b8dd097daf6d91cd0cf2c5b08151793bc (patch) | |
tree | 1ebea989121956f7b739cb00c19c02cd740bdf8d /src/gallium/drivers/nv50/nv50_context.c | |
parent | aee5bb5b8ad80d4aed849519a80b1d696991e866 (diff) |
nv50: call util_format_init
Needed to fetch static vertex attributes.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c index aa14e17872d..0de75a70b98 100644 --- a/src/gallium/drivers/nv50/nv50_context.c +++ b/src/gallium/drivers/nv50/nv50_context.c @@ -22,6 +22,7 @@ #include "draw/draw_context.h" #include "pipe/p_defines.h" +#include "util/u_format.h" #include "nv50_context.h" #include "nv50_screen.h" @@ -70,6 +71,8 @@ nv50_create(struct pipe_screen *pscreen, void *priv) struct nv50_screen *screen = nv50_screen(pscreen); struct nv50_context *nv50; + util_format_init(); + nv50 = CALLOC_STRUCT(nv50_context); if (!nv50) return NULL; |