LibGL+LibGPU+LibSoftGPU: Move Vertex.h to LibGPU

This commit is contained in:
Stephan Unverwerth 2022-03-27 15:43:51 +02:00 committed by Andreas Kling
commit 5d2740217f
Notes: sideshowbarker 2024-07-17 14:22:56 +09:00
11 changed files with 37 additions and 34 deletions

View file

@ -577,7 +577,7 @@ void GLContext::gl_vertex(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
{
APPEND_TO_CALL_LIST_AND_RETURN_IF_NEEDED(gl_vertex, x, y, z, w);
SoftGPU::Vertex vertex;
GPU::Vertex vertex;
vertex.position = { static_cast<float>(x), static_cast<float>(y), static_cast<float>(z), static_cast<float>(w) };
vertex.color = m_current_vertex_color;