hi,

im using SDL2, NDK, OpenGl ES 2.0 on ubunto 12.04, and when i declare variable as "uniform type or attribute type", i get this error :

main.cpp:15:1: error: 'uniform' does not name a type

here my included files :
#include <SDL2/SDL.h>
#include <android/log.h>
#include <iostream>
#include <GLES2/gl2.h>
#include <EGL/egl.h>
#include <GLES2/gl2ext.h>

thanks a lot.