From: | Antonio Palladini |
Date: | 22 Apr 2000 at 23:27:28 |
Subject: | Re: MiniGL and gcc |
> Hard to say without seeing the source. Did you include <mgl/gl.h>?
>
It does the following :
#include <mgl/gl.h>
#include <mgl/context.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
void main()
{
GLint width = 400;
GLint height = 300;
MGLInit();
mglChooseVertexBufferSize(1000);
mglChooseNumberOfBuffers(3);
mglChooseWindowMode(GL_TRUE);
mglCreateContext(0,0,width,height);
glClearColor(0.0,0.0,0.0,0.0);
mglDeleteContext();
MGLTerm();
}