packages feed

nanovg-0.1.0.0: cbits/glew.c

#include <GL/glew.h>
#include <stdio.h>
#include "nanovg.h"
#include "math.h"

void initGlew() {
    glewExperimental = GL_TRUE;
    if(glewInit() != GLEW_OK) {
        printf("Could not init glew.\n");
        /* return -1; */
    }
}