<commit_before>//
//  GLHelpers.h
//  CardboardSDK-iOS
//

#ifndef _GLHelpers_h
#define _GLHelpers_h

#import <Foundation/Foundation.h>

#import <OpenGLES/ES2/gl.h>


#ifdef DEBUG

    static inline void GLCheckForError()
    {
        GLenum err = glGetError();
        if (err != GL_NO_ERROR)
        {
            NSLog(@"glError: 0x%04X", err);
            // assert(NO);
        }
    }

#else

    #define GLCheckForError() (;)

#endif

#define BUFFER_OFFSET(i) ((char *)NULL + (i))

BOOL GLCompileShader(GLuint *shader, GLenum type, NSString *file);
BOOL GLLinkProgram(GLuint program);
BOOL GLValidateProgram(GLuint program);
<commit_msg>GLHelpers: Fix compiler error in Release mode<commit_after>//
//  GLHelpers.h
//  CardboardSDK-iOS
//

#ifndef _GLHelpers_h
#define _GLHelpers_h

#import <Foundation/Foundation.h>

#import <OpenGLES/ES2/gl.h>


#ifdef DEBUG

    static inline void GLCheckForError()
    {
        GLenum err = glGetError();
        if (err != GL_NO_ERROR)
        {
            NSLog(@"glError: 0x%04X", err);
            // assert(NO);
        }
    }

#else

    #define GLCheckForError()

#endif

#define BUFFER_OFFSET(i) ((char *)NULL + (i))

BOOL GLCompileShader(GLuint *shader, GLenum type, NSString *file);
BOOL GLLinkProgram(GLuint program);
BOOL GLValidateProgram(GLuint program);

{'fraction_non_alphanumeric': 0.13050075872534142, 'fraction_numerical': 0.006069802731411229, 'mean_word_length': 2.9728915662650603, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5992196', 'n_tokens_mistral': 470, 'n_tokens_neox': 461, 'n_words': 104}