rename DISCARD to SAFEDISCARD
continuous-integration/drone/push Build is failing Details

abi_break
cosmonaut 2024-02-22 10:32:24 -08:00
parent 72ff9407c4
commit 73d927791a
1 changed files with 4 additions and 4 deletions

View File

@ -329,7 +329,7 @@ typedef enum Refresh_BorderColor
typedef enum Refresh_SetDataOptions typedef enum Refresh_SetDataOptions
{ {
REFRESH_SETDATAOPTIONS_DISCARD, REFRESH_SETDATAOPTIONS_SAFEDISCARD,
REFRESH_SETDATAOPTIONS_OVERWRITE REFRESH_SETDATAOPTIONS_OVERWRITE
} Refresh_SetDataOptions; } Refresh_SetDataOptions;
@ -1054,10 +1054,10 @@ REFRESHAPI void Refresh_EndComputePass(
/* Immediately copies data from a pointer into a CpuBuffer. /* Immediately copies data from a pointer into a CpuBuffer.
* *
* option: * option:
* DISCARD: * SAFEDISCARD:
* If this CpuBuffer has been used in a copy command that has not completed, * If this CpuBuffer has been used in a copy command that has not completed,
* preserves the data in the issued copy commands at the cost of increased memory usage. * the issued copy commands will still be valid at the cost of increased memory usage.
* Otherwise it simply overwrites. * Otherwise the data will overwrite.
* It is not recommended to use this option with large CpuBuffers. * It is not recommended to use this option with large CpuBuffers.
* *
* OVERWRITE: * OVERWRITE: