Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: Yang Zhang

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    2,149

    Re: glOrtho in display function not working

    Thanks!
  2. Replies
    2
    Views
    2,149

    glOrtho in display function not working

    Hi, I have the following simple hello world program from the OpenGL red book:



    #include <GL/glut.h>

    void display() {
    glClearColor(0,0,0,0);
    glClear(GL_COLOR_BUFFER_BIT);
Results 1 to 2 of 2