mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 23:18:20 +02:00
vbo: use new no-op ArrayElement in _mesa_noop_vtxfmt_init()
As we do for the other commands which can appear between glBegin/End. Reviewed-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
7b762305d5
commit
7c9e5afe81
1 changed files with 7 additions and 2 deletions
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
|
||||
#include "main/glheader.h"
|
||||
#include "main/api_arrayelt.h"
|
||||
#include "main/context.h"
|
||||
#include "main/dispatch.h"
|
||||
#include "main/dlist.h"
|
||||
|
|
@ -331,6 +330,12 @@ _mesa_noop_EvalPoint2(GLint a, GLint b)
|
|||
{
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_mesa_noop_ArrayElement(GLint elem)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
static void GLAPIENTRY
|
||||
_mesa_noop_Begin(GLenum mode)
|
||||
{
|
||||
|
|
@ -355,7 +360,7 @@ _mesa_noop_PrimitiveRestartNV(void)
|
|||
void
|
||||
_mesa_noop_vtxfmt_init(GLvertexformat * vfmt)
|
||||
{
|
||||
vfmt->ArrayElement = _ae_ArrayElement;
|
||||
vfmt->ArrayElement = _mesa_noop_ArrayElement;
|
||||
|
||||
vfmt->Begin = _mesa_noop_Begin;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue