Displaying 2 results from an estimated 2 matches for "glut_double".
2013 Jan 26
1
[LLVMdev] lli problem with a simple OpenGL
Hello,
I wrote a very simple openGL application, as below
#include
#include
int main(int argc, char **argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);
glutCreateWindow("red 3D lighted cube");
printf("GL_VERSION = %s\n",glGetString(GL_VERSION) );
return 0;
}
Compiling it with Clang and adding -lglut option worked correctly
$ clang simple.c -o simple -lglut
$ ./simple
GL_VERSION = 2.1 Mesa 7....
2013 Jan 28
0
[LLVMdev] Testing canaries
...Mail.www at wwinf8316>
> Content-Type: text/plain; charset="utf-8"
>
> ?Hello,
>
> I wrote a very simple openGL application, as below
>
> #include
> #include
> int main(int argc, char **argv)
> {
> ? glutInit(&argc, argv);
> ? glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);
> ? glutCreateWindow("red 3D lighted cube");
> ? printf("GL_VERSION = %s\n",glGetString(GL_VERSION) );
> ? return 0;
> }
>
> Compiling it with Clang and adding -lglut option worked correctly
> $ clang? simple.c? -o? simple? -lglut
&...