Re: Trouble getting buffer objects up and running!
Alexander Göransson <[email protected]> Sat, 3 Apr 2010 16:26:06 +0200
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <[email protected]> |
I forgot to mention _where_ I got stuck (i kept awake when writing the
mail with *great* trouble) :)
It's in lab1.hs on the row that says
{- i am a long comment -}
What i can't do in haskell is done in the CPP code with:
glGenVertexArrays(1, &vertexArrayObject);
glBindVertexArray(vertexArrayObject);
regards // Alexander
2010/4/3 Alexander Göransson <[email protected]>:
> Hello!
>
> I'm trying to port a C++ program that uses Vertex Buffer objects in
> OpenGL 3.0. As of now it seems like i can't get any further ;(
>
> Anyone who can help with as to what should be done next... I'm
> attaching the C++ source and shader files as well as my haskell
> source.
>
> regards // Alexander
>