projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee5bb5
)
nv50: call util_format_init
author
Luca Barbieri
<luca@luca-barbieri.com>
Fri, 2 Apr 2010 00:36:59 +0000
(
02:36
+0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Fri, 2 Apr 2010 00:36:59 +0000
(
02:36
+0200)
Needed to fetch static vertex attributes.
src/gallium/drivers/nv50/nv50_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_context.c
b/src/gallium/drivers/nv50/nv50_context.c
index aa14e17872df2ff1b4df07b3ace7a3d7bf2ef059..0de75a70b98f5d8aa5746b3ebbf23fac6aeb0f61 100644
(file)
--- 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;