Category Archives: Uncategorized

The right (and tricky) way to bind textures in OpenGL

I just solved a really hard bug today at work. I was receiving the error GL_INVALID_OPERATION on a glEnd() or glDrawBuffers. This was due to one of our textures that was not unbound to the correct target. We had a … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Non-intuitive RTTI behavior in C++

I just discovered that the Runtime-time Type Information in C++ using Visual C++ 2008 was not behaving like I was expecting in some specific scenarii. One of the side effect I had was that a dynamic_cast was returning NULL instead … Continue reading

Posted in Uncategorized | Leave a comment

Open irc links into xchat in kubuntu with kde

You need to put a file named xchat.protocol in /usr/share/kde4/services that contains: [Protocol] exec=xchat –existing –url=%u protocol=irc input=none output=none helper=true listing=false reading=false writing=false makedir=false deleting=false X-Ubuntu-Gettext-Domain=desktop_xchat It can works for other irc clients, just change the name to yours and … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

opencl with mingw32

Same post as before, no opencl libraries available for mingw32. So here they are: http://www.mediafire.com/?tonylzwmn4f I found the instructions to do them here: http://oscarbg.blogspot.com/2009/12/opencl-with-mingw.html

Posted in Uncategorized | Tagged , , , | Leave a comment

glew version 1.5.4 for mingw32

I was really suprised that the official glew website was not giving directly a compiled version of glew for mingw. So here they are: http://www.mediafire.com/?20tlnt0eytt For those who want to know my workflow: – download glew and edit the config/Makefile.mingw … Continue reading

Posted in Uncategorized | Tagged , , , | 3 Comments