- glMatrixMode(GL_PROJECTION); // Select projection matrix
- glLoadIdentity(); // Start with an identity matrix
-
- glClearColor(1.0f, 1.0f, 1.0f, 0.0f);
- glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
-
- glMatrixMode(GL_MODELVIEW); // Select modelview matrix
- glLoadIdentity(); // Start with an identity matrix
-
-#if 0
- glEnable(GL_TEXTURE_2D);
- glBindTexture(GL_TEXTURE_2D, fbo_texture);
- dumpError("glBindTexture fbo");
-#if 0
- glUseProgram(program_postproc);
- dumpError("glUseProgram program_postproc");
- glUniform1i(uniform_fbo_texture, /*GL_TEXTURE*/0);
-#endif