Added stringification of OpenGL and EGL error codes.
Added delimiter to log.
Comments added.
Added EGL-specific code for LG TV build.
Added debug info for X11 and SDL builds.
Added makefile for EGL build.
glewInit() called only under X11.
glewInit() called only under X11.
Fixed comment.
Fixed texture format for GLES backend.