<commit_before>#include "error.h"
#include "gl_str.h"
#include "light.h"
#include "loader.h"
#include "matrix.h"
#include "remote.h"

#ifndef USE_ES2
void glLightModelf(GLenum pname, GLfloat param) {
    FORWARD_IF_REMOTE(glLightModelf);
    LOAD_GLES(glLightModelf);
    ERROR_IN_BLOCK();
    switch (pname) {
        case GL_LIGHT_MODEL_AMBIENT:
        case GL_LIGHT_MODEL_TWO_SIDE:
            gles_glLightModelf(pname, param);
        default:
            printf("stubbed glLightModelf(%s, %.2f)\n", gl_str(pname), param);
            break;
    }
}

void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) {
    FORWARD_IF_REMOTE(glMaterialfv);
    PUSH_IF_COMPILING(glMaterialfv);
    LOAD_GLES(glMaterialfv);
    gles_glMaterialfv(GL_FRONT_AND_BACK, pname, params);
}

#ifdef LOCAL_MATRIX
void glLightfv(GLenum light, GLenum pname, const GLfloat *params) {
    FORWARD_IF_REMOTE(glLightfv);
    LOAD_GLES(glLightfv);
    ERROR_IN_BLOCK();
    GLfloat tmp[4];
    switch (pname) {
        case GL_POSITION:
            gl_transform_light(tmp, params);
            params = tmp;
        default:
            gles_glLightfv(light, pname, params);
            break;
    }
}
#endif
#endif
<commit_msg>don't forward glMaterial when compiling list<commit_after>#include "error.h"
#include "gl_str.h"
#include "light.h"
#include "loader.h"
#include "matrix.h"
#include "remote.h"

#ifndef USE_ES2
void glLightModelf(GLenum pname, GLfloat param) {
    FORWARD_IF_REMOTE(glLightModelf);
    LOAD_GLES(glLightModelf);
    ERROR_IN_BLOCK();
    switch (pname) {
        case GL_LIGHT_MODEL_AMBIENT:
        case GL_LIGHT_MODEL_TWO_SIDE:
            gles_glLightModelf(pname, param);
        default:
            printf("stubbed glLightModelf(%s, %.2f)\n", gl_str(pname), param);
            break;
    }
}

void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) {
    PUSH_IF_COMPILING(glMaterialfv);
    FORWARD_IF_REMOTE(glMaterialfv);
    LOAD_GLES(glMaterialfv);
    gles_glMaterialfv(GL_FRONT_AND_BACK, pname, params);
}

#ifdef LOCAL_MATRIX
void glLightfv(GLenum light, GLenum pname, const GLfloat *params) {
    FORWARD_IF_REMOTE(glLightfv);
    LOAD_GLES(glLightfv);
    ERROR_IN_BLOCK();
    GLfloat tmp[4];
    switch (pname) {
        case GL_POSITION:
            gl_transform_light(tmp, params);
            params = tmp;
        default:
            gles_glLightfv(light, pname, params);
            break;
    }
}
#endif
#endif

{'fraction_non_alphanumeric': 0.10669371196754564, 'fraction_numerical': 0.002434077079107505, 'mean_word_length': 3.2517241379310344, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2704431', 'n_tokens_mistral': 940, 'n_tokens_neox': 897, 'n_words': 167}