Skip to content

Commit

Permalink
Fix warning: missing terminating " character detected on centos 7.2 ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Dec 18, 2024
1 parent 291985d commit e23cb08
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions modules/ar/src/panda3d-simulator/vpPanda3DPostProcessFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,18 @@
#include <lightRampAttrib.h>

BEGIN_VISP_NAMESPACE
const char *vpPanda3DPostProcessFilter::FILTER_VERTEX_SHADER = R"shader(
#version 330
in vec4 p3d_Vertex;
uniform mat4 p3d_ModelViewProjectionMatrix;
in vec2 p3d_MultiTexCoord0;
out vec2 texcoords;
void main()
{
gl_Position = p3d_ModelViewProjectionMatrix * p3d_Vertex;
texcoords = p3d_MultiTexCoord0;
}
)shader";
const std::string vpPanda3DPostProcessFilter::FILTER_VERTEX_SHADER =
"#version 330\n"
"in vec4 p3d_Vertex;\n"
"uniform mat4 p3d_ModelViewProjectionMatrix;\n"
"in vec2 p3d_MultiTexCoord0;\n"
"out vec2 texcoords;\n"

"void main()\n"
"{\n"
" gl_Position = p3d_ModelViewProjectionMatrix * p3d_Vertex;\n"
" texcoords = p3d_MultiTexCoord0;\n"
"}\n";

void vpPanda3DPostProcessFilter::setupScene()
{
Expand Down

0 comments on commit e23cb08

Please sign in to comment.