nv50: call util_format_init

Needed to fetch static vertex attributes.
This commit is contained in:
Luca Barbieri
2010-04-02 02:36:59 +02:00
parent aee5bb5b8a
commit cbf4097b8d
+3
View File
@@ -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;