mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-27 02:55:29 +00:00
239d98e860
Added check for the existence of override elements before trying to use them (avoids potential null reference exception). Regenerated bindings using the latest version of the generator.
47 lines
1.6 KiB
XML
47 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<overrides>
|
|
|
|
<replace>
|
|
<enum name="Unknown">
|
|
<token name="CHAR_MAX"><value>127</value></token>
|
|
<token name="CHAR_MIN"><value>-128</value></token>
|
|
</enum>
|
|
|
|
<enum name="ErrorCodes"><name>ErrorCode</name></enum>
|
|
|
|
<enum name="DeviceType"><name>DeviceTypeFlags</name></enum>
|
|
|
|
<function name="CreateContextFromType" extension="Core">
|
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
|
</function>
|
|
|
|
<enum name="CommandQueuePropertiesFlags"><name>CommandQueueFlags</name></enum>
|
|
<enum name="CommandQueueProperties"><name>CommandQueueFlags</name></enum>
|
|
|
|
<function name="CreateBuffer" extension="Core">
|
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
|
</function>
|
|
|
|
<function name="CreateContextFromType" extension="Core">
|
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
|
</function>
|
|
|
|
<function name="CreateCommandQueue" extension="Core">
|
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
|
</function>
|
|
|
|
<function name="CreateKernel" extension="Core">
|
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
|
</function>
|
|
|
|
<function name="CreateProgramWithBinary" extension="Core">
|
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
|
</function>
|
|
|
|
<function name="CreateProgramWithSource" extension="Core">
|
|
<param name="strings"><type>string[]</type></param>
|
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
|
</function>
|
|
</replace>
|
|
|
|
</overrides> |