|
|
@ -29,7 +29,6 @@ |
|
|
|
//
|
|
|
|
//
|
|
|
|
//========================================================================
|
|
|
|
//========================================================================
|
|
|
|
|
|
|
|
|
|
|
|
#define GLFW_INCLUDE_GLU |
|
|
|
|
|
|
|
#include <GLFW/glfw3.h> |
|
|
|
#include <GLFW/glfw3.h> |
|
|
|
#include <GL/glext.h> |
|
|
|
#include <GL/glext.h> |
|
|
|
|
|
|
|
|
|
|
@ -125,7 +124,7 @@ int main(int argc, char** argv) |
|
|
|
printf("Context reports FSAA is unavailable\n"); |
|
|
|
printf("Context reports FSAA is unavailable\n"); |
|
|
|
|
|
|
|
|
|
|
|
glMatrixMode(GL_PROJECTION); |
|
|
|
glMatrixMode(GL_PROJECTION); |
|
|
|
gluOrtho2D(0.f, 1.f, 0.f, 0.5f); |
|
|
|
glOrtho(0.f, 1.f, 0.f, 0.5f, 0.f, 1.f); |
|
|
|
glMatrixMode(GL_MODELVIEW); |
|
|
|
glMatrixMode(GL_MODELVIEW); |
|
|
|
|
|
|
|
|
|
|
|
while (!glfwWindowShouldClose(window)) |
|
|
|
while (!glfwWindowShouldClose(window)) |
|
|
|