fix some warning messages
This commit is contained in:
parent
1d2f728db0
commit
3e9c38dade
11 changed files with 48 additions and 48 deletions
|
@ -346,8 +346,8 @@ GLuint oglu_build_program_from_file(const char *file_path, BOOL core_profile)
|
|||
{
|
||||
if (core_profile)
|
||||
{
|
||||
if (strnicmp(version_start, "#version 130", 12) == 0 ||
|
||||
strnicmp(version_start, "#version 140", 12) == 0)
|
||||
if (_strnicmp(version_start, "#version 130", 12) == 0 ||
|
||||
_strnicmp(version_start, "#version 140", 12) == 0)
|
||||
{
|
||||
memcpy(version_start, "#version 150", 12);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue