We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56bb83e commit 7f5ed27Copy full SHA for 7f5ed27
src/engine/renderer/tr_vbo.cpp
@@ -555,8 +555,12 @@ void R_BindNullIBO()
555
556
static void R_InitGenericVBOs() {
557
// Min and max coordinates of the quad
558
- static const vec3_t min = { 0.0f, 0.0f, 0.0f };
+
559
+ static const vec3_t min_new = { 0.0f, 0.0f, 0.0f };
560
+ static const vec3_t min_old = { -1.0f, -1.f, -1.0f };
561
+ const float *min = glConfig2.gpuShader4Available ? min_new : min_old;
562
static const vec3_t max = { 1.0f, 1.0f, 0.0f };
563
564
{
565
/*
566
Quad is a static mesh with 4 vertices and 2 triangles
0 commit comments