New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GLSL include when file is empty. #1245

merged 1 commit into from Mar 14, 2015


None yet
1 participant

LuisAntonRebollo commented Mar 8, 2015

For reproduce use Opengl with BasicLighting and open Outpost level.
In BL autogenConditioners.h file are empty, and every GLSL trying to include cause this error.

Program shaders/common/postFx/gl/postFxV.glsl: 
GFXGLShader::initShader - Error compiling shader!
Program shaders/common/postFx/hdr/gl/brightPassFilterP.glsl: 0(412) : error C7529: OpenGL does not allow #include directives

@LuisAntonRebollo LuisAntonRebollo added this to the 3.7 milestone Mar 8, 2015

LuisAntonRebollo added a commit that referenced this pull request Mar 14, 2015

Merge pull request #1245 from BeamNG/fix_glsl_include
Fix GLSL include when file is empty.

@LuisAntonRebollo LuisAntonRebollo merged commit 68efa70 into GarageGames:development Mar 14, 2015

1 check passed

default Merged build finished.

@LuisAntonRebollo LuisAntonRebollo deleted the BeamNG:fix_glsl_include branch Mar 14, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment