Pass the right enum for MAG_FILTER
Specify version for GLSLES
Added initial  input managment for libRocket