Corrected ShaderSource for gles2 and ARB
The length parameter should be an array of integers, one for each string in the shader source. The string parameter does not need to be translated.
This commit is contained in:
parent
6c16835d8c
commit
7a403e474e
1 changed files with 2 additions and 2 deletions
|
@ -216,7 +216,7 @@
|
|||
</param>
|
||||
</function>
|
||||
|
||||
<function name="ShaderSource" extension="Core">
|
||||
<function name="ShaderSource" extension="Core|Arb">
|
||||
<param name="length">
|
||||
<count>0</count>
|
||||
</param>
|
||||
|
@ -3960,7 +3960,7 @@
|
|||
</function>
|
||||
|
||||
<function name="ShaderSource" extension="Core">
|
||||
<param name="string"><type>String*</type></param>
|
||||
<param name="length"><count>0</count></param>
|
||||
</function>
|
||||
|
||||
<function name="BlendEquation" extension="Core" version="2.0">
|
||||
|
|
Loading…
Reference in a new issue