Made param 'type GLenum' explicitly required in all function calls

!! This is a compatibility breaking change !!

GetGLenumType is gone. There where too many cases where GetGLenumType
couldn't determine an element type. Functions now have the 'type GLenum'
param that you find in the OpenGl specs (it's called 'typ GLenum'
though because of the keyword name clash).

The interface{} param in functions now accepts slices, pointers, uintptr
and nil values. Uintptr is used to specify the offset into a VBO. Some
functions allow a nil value for reserving memory without uploading data.
Arrays aren't supported anymore. They never worked.

Special functions ending in VBO and Typed got removed. They aren't
needed anymore.

Added tests for the functions with a interface{} param. The functions
get called with all supported types (slices, pointers, uintptr) and
with the nil value if applicable. Run with 'go test'.
Added func gl.TexBuffer
Merge remote-tracking branch 'nilium/master' into work
Added gl.TexImage3D, gl.TexSubImage3D
Tests for gl.Tex[Sub]Image3D and more ...

New tests for pointers to arrays as interface{} parameters.
TestDrawPixels and TestCallLists do pass now.
Merge remote-tracking branch 'origin/work'
Merge pull request #60 from shogg/master

Hi, I dropped GetGLenumType and made the param 'type GLenum' explicitly required again in function calls
Fixes a number of functions which accept slices as parameters
and proceed to index the slice without verifying that it has
the correct size. These will not panic, but silently operate
on garbage memory.

The fixes employ a simply length check on the input slice.
If this check fails, the function panics. Reason being that
these can lead to some serious memory corruption bugs and thus
constitute a situation worthy of stopping the world.
Fixes glGen/glDelete functions, They should not panic when a zero-
length slice is supplied. In these cases, the call is simply
ignored.
Merge pull request #69 from jteeuwen/master

Fixes for potential slice indexing errors.
fixed tests
Fix #50 - return unsafe.Pointer from MapBuffer
remove gl_defs.c, all constants are now defined in gl_defs.go and filled by cgo
Update README.md

Refer to go-gl, and remove sudo from go-get
Apply BSD license to all files
Delete TODO
Merge pull request #72 from pwaller/del-todo

Delete TODO
Merge pull request #71 from pwaller/license

Apply BSD license to all files
Merge pull request #50 from pwaller/issue-50

MapBuffer does not return a pointer to the mapped buffer
Test and examples have moved to go-gl/examples