Skip to content

Commit

Permalink
Fixed GLLang parameter not been used
Browse files Browse the repository at this point in the history
  • Loading branch information
spacehamster committed Oct 21, 2019
1 parent 43394a0 commit ae97b64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HLSLccWrapper/HLSLccWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace HLSLccWrapper {
IntPtr p = Marshal::StringToHGlobalAnsi(filepath);
const char* _filename = static_cast<char*>(p.ToPointer());
unsigned int flags = HLSLCC_FLAG_UNIFORM_BUFFER_OBJECT;
GLLang language = GLLang::LANG_DEFAULT;
GLLang language = (GLLang)lang;
GlExtensions ext;
ext.ARB_explicit_attrib_location = extensions->ARB_explicit_attrib_location;
ext.ARB_explicit_uniform_location = extensions->ARB_explicit_uniform_location;
Expand Down Expand Up @@ -47,7 +47,7 @@ namespace HLSLccWrapper {
Marshal::Copy(data, 0, p, data->Length);
const char* unmanagedData = static_cast<char*>(p.ToPointer());
unsigned int flags = HLSLCC_FLAG_UNIFORM_BUFFER_OBJECT;
GLLang language = GLLang::LANG_DEFAULT;
GLLang language = (GLLang)lang;
GlExtensions ext;
ext.ARB_explicit_attrib_location = extensions->ARB_explicit_attrib_location;
ext.ARB_explicit_uniform_location = extensions->ARB_explicit_uniform_location;
Expand Down

0 comments on commit ae97b64

Please sign in to comment.