p3/regal — pull request #28 by igor-c (2012-11-08 00:07:07+00:00)
Title: Fix texture rendering mode set to TEM_Invalid

Fix texture rendering mode set to TEM_Invalid.

A memset() in constructor was resetting the value from TEM_Modulate to TEM_Invalid.

This CL also enables compilation for NaCl with ARM CPU.

This CL also turns incorrect context sharing into assert failure as it indicates improper API use.