OSDN Git Service

Fix spelling in function name
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 29 May 2009 17:21:28 +0000 (13:21 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Fri, 29 May 2009 17:21:28 +0000 (13:21 -0400)
src/mesa/drivers/dri/r600/r700_chip.c
src/mesa/drivers/dri/r600/r700_chip.h

index 12e9b47..81eacc7 100644 (file)
@@ -381,12 +381,12 @@ GLboolean r700InitChipObject(context_t *context)
     return GL_TRUE;
 }
 
-void r700SetupVTXConstans(GLcontext  * ctx, 
-                          unsigned int nStreamID,
-                          void *       pAos,
-                          unsigned int size,      /* number of elements in vector */
-                          unsigned int stride,
-                          unsigned int count)     /* number of vectors in stream */
+void r700SetupVTXConstants(GLcontext  * ctx, 
+                          unsigned int nStreamID,
+                          void *       pAos,
+                          unsigned int size,      /* number of elements in vector */
+                          unsigned int stride,
+                          unsigned int count)     /* number of vectors in stream */
 {
     context_t *context = R700_CONTEXT(ctx);
     uint32_t *dest;
@@ -475,7 +475,7 @@ int r700SetupStreams(GLcontext * ctx)
                                            vb->Count);
 
             /* currently aos are packed */
-            r700SetupVTXConstans(ctx, 
+            r700SetupVTXConstants(ctx, 
                                  i,
                                  (void*)(&context->radeon.tcl.aos[i]),
                                  (unsigned int)vb->AttribPtr[i]->size,
index 42a72b7..c8d9cbf 100644 (file)
@@ -458,12 +458,12 @@ typedef struct _R700_CHIP_CONTEXT
 extern GLboolean r700InitChipObject(context_t *context);
 extern GLboolean r700SendContextStates(context_t *context, GLboolean bUseStockShader);
 extern int       r700SetupStreams(GLcontext * ctx);
-extern void      r700SetupVTXConstans(GLcontext  * ctx, 
-                                      unsigned int nStreamID,
-                                      void *       pAos,
-                                      unsigned int size,      /* number of elements in vector */
-                                      unsigned int stride,
-                                      unsigned int Count);    /* number of vectors in stream */
+extern void      r700SetupVTXConstants(GLcontext  * ctx, 
+                                      unsigned int nStreamID,
+                                      void *       pAos,
+                                      unsigned int size,      /* number of elements in vector */
+                                      unsigned int stride,
+                                      unsigned int Count);    /* number of vectors in stream */
 
 #endif /* _R700_CHIP_H_ */