Bugzilla – Attachment 404 Details for
Bug 658
3.1 context on Mesa 9.0.1 is buggy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
The first test as native code with GLFW
test-poly.c (text/x-c), 666 bytes, created by
Mark Raynsford
on 2012-12-28 21:04:20 CET
(
hide
)
Description:
The first test as native code with GLFW
Filename:
MIME Type:
Creator:
Mark Raynsford
Created:
2012-12-28 21:04:20 CET
Size:
666 bytes
patch
obsolete
>#include <GL/glfw.h> >#include <err.h> >#include <stdio.h> > >int >main (void) >{ > int e; > > if (glfwInit() != GL_TRUE) > errx(1, "glfwInit"); > > glfwOpenWindowHint(GLFW_OPENGL_VERSION_MAJOR, 3); > glfwOpenWindowHint(GLFW_OPENGL_VERSION_MINOR, 1); > if (glfwOpenWindow(640, 480, 8, 8, 8, 0, 24, 8, GLFW_WINDOW) != GL_TRUE) > errx(1, "glfwOpenWindow"); > > printf("renderer : %s\n", glGetString(GL_RENDERER)); > printf("version : %s\n", glGetString(GL_VERSION)); > printf("vendor : %s\n", glGetString(GL_VENDOR)); > > glPolygonMode(GL_FRONT, GL_FILL); > e = glGetError(); > if (e != GL_NO_ERROR) > errx(1, "glPolygonMode: %d", e); > > glfwTerminate(); > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 658
:
402
|
403
| 404