simple openGL with multiple class OK