Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 591 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 591 Bytes

linc/GLEW

Haxe/hxcpp @:native bindings for GLEW.

This is a linc library.


This library works with the Haxe cpp target only.


Install

haxelib git linc_glew https://github.com/snowkit/linc_glew.git

License

See LICENSE.md

OpenGL + GLEW

For a full OpenGL API with GLEW available, see https://github.com/snowkit/linc_opengl

Example usage

import glew.GLEW;

...

var result = GLEW.init();
if(result != GLEW.OK) {
    throw 'Failed to initialize GLEW:' + GLEW.error(result);
}