1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

LibGL: Implement glVertexPointer

This commit is contained in:
Stephan Unverwerth 2021-08-13 13:03:06 +02:00 committed by Andreas Kling
parent 886f154c2a
commit 07b9cba6e6
6 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,15 @@
/*
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "GL/gl.h"
#include "GLContext.h"
extern GL::GLContext* g_gl_context;
void glVertexPointer(GLint size, GLenum type, GLsizei stride, const void* pointer)
{
g_gl_context->gl_vertex_pointer(size, type, stride, pointer);
}