# HG changeset patch # User John Tsiombikas # Date 1346109499 -10800 # Node ID 0cd55268eaf4db82dd42f808ab2f033cc3982c51 # Parent ddb68dc4ba074df469b83a781115857f9a5383f5 AAAAaaaarghhhh... forgot to request floating point pixel format for MRT textures... diff -r ddb68dc4ba07 -r 0cd55268eaf4 prototype/src/renderer.cc --- a/prototype/src/renderer.cc Mon Aug 27 04:14:04 2012 +0300 +++ b/prototype/src/renderer.cc Tue Aug 28 02:18:19 2012 +0300 @@ -40,8 +40,12 @@ bool init_renderer(int xsz, int ysz) { + if(!GLEW_ARB_texture_float) { + fprintf(stderr, "Error: OpenGL implementation doesn't support floating point textures\n"); + return false; + } if(!GLEW_ARB_draw_buffers) { - fprintf(stderr, "OpenGL implementation doesn't support multiple render targets\n"); + fprintf(stderr, "Error: OpenGL implementation doesn't support multiple render targets\n"); return false; } @@ -105,8 +109,7 @@ for(int i=0; i