Fix glDrawArrays API issue

Like glDrawElements function, glDrawArrays also need check
some parameters in guest OS. In that way, if drivers in host
OS do not have enough support, we can also handle the ERROR
state.

Signed-off-by: Lizhe Liu <lizhe.liu@intel.com>

Change-Id: If668868b567fe3fe3cc76c88a6c8a6b1aa681fa8
1 file changed