BLEND_ALPHA_PREMULTIPLY.
This commit is contained in:
@@ -26,3 +26,5 @@ ADDED: RL_IsPathFile.
|
|||||||
ADDED: RL_SetMaterialShader.
|
ADDED: RL_SetMaterialShader.
|
||||||
ADDED: RL_GetFileLength.
|
ADDED: RL_GetFileLength.
|
||||||
ADDED: RL_LoadFontEx.
|
ADDED: RL_LoadFontEx.
|
||||||
|
FIXED: RL_ImageAlphaClear expecting wrong arguments.
|
||||||
|
ADDED: BLEND_ALPHA_PREMULTIPLY
|
||||||
|
|||||||
5
devnotes
5
devnotes
@@ -2,10 +2,11 @@ Current {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Backlog {
|
Backlog {
|
||||||
|
* Text
|
||||||
|
* Ability to set font texture filtering.
|
||||||
|
* Codepoints?
|
||||||
* Audio
|
* Audio
|
||||||
* AudioStream.
|
* AudioStream.
|
||||||
* Text
|
|
||||||
* Codepoints?
|
|
||||||
* VR.
|
* VR.
|
||||||
* Core.
|
* Core.
|
||||||
* Compression/Encoding functionality.
|
* Compression/Encoding functionality.
|
||||||
|
|||||||
@@ -286,7 +286,7 @@ local function drawPlayer()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function draw()
|
function draw()
|
||||||
RL_ClearBackground( BLACK )
|
RL_ClearBackground( RED )
|
||||||
|
|
||||||
RL_SetTextureSource( TEXTURE_SOURCE_TEXTURE )
|
RL_SetTextureSource( TEXTURE_SOURCE_TEXTURE )
|
||||||
RL_BeginTextureMode( framebuffer )
|
RL_BeginTextureMode( framebuffer )
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 38 KiB |
@@ -323,6 +323,7 @@ void defineGlobals() {
|
|||||||
assignGlobalInt( BLEND_MULTIPLIED, "BLEND_MULTIPLIED" );
|
assignGlobalInt( BLEND_MULTIPLIED, "BLEND_MULTIPLIED" );
|
||||||
assignGlobalInt( BLEND_ADD_COLORS, "BLEND_ADD_COLORS" );
|
assignGlobalInt( BLEND_ADD_COLORS, "BLEND_ADD_COLORS" );
|
||||||
assignGlobalInt( BLEND_SUBTRACT_COLORS, "BLEND_SUBTRACT_COLORS" );
|
assignGlobalInt( BLEND_SUBTRACT_COLORS, "BLEND_SUBTRACT_COLORS" );
|
||||||
|
assignGlobalInt( BLEND_ALPHA_PREMULTIPLY, "BLEND_ALPHA_PREMULTIPLY" );
|
||||||
assignGlobalInt( BLEND_CUSTOM, "BLEND_CUSTOM" );
|
assignGlobalInt( BLEND_CUSTOM, "BLEND_CUSTOM" );
|
||||||
/* Gesture */
|
/* Gesture */
|
||||||
assignGlobalInt( GESTURE_NONE, "GESTURE_NONE" );
|
assignGlobalInt( GESTURE_NONE, "GESTURE_NONE" );
|
||||||
|
|||||||
@@ -695,10 +695,10 @@ int ltexturesImageAlphaClear( lua_State *L ) {
|
|||||||
lua_pushboolean( L, false );
|
lua_pushboolean( L, false );
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
Color color = uluaGetColor( L );
|
|
||||||
lua_pop( L, 1 );
|
|
||||||
float threshold = lua_tonumber( L, -1 );
|
float threshold = lua_tonumber( L, -1 );
|
||||||
lua_pop( L, 1 );
|
lua_pop( L, 1 );
|
||||||
|
Color color = uluaGetColor( L );
|
||||||
|
lua_pop( L, 1 );
|
||||||
size_t imageId = lua_tointeger( L, -1 );
|
size_t imageId = lua_tointeger( L, -1 );
|
||||||
|
|
||||||
if ( !validImage( imageId ) ) {
|
if ( !validImage( imageId ) ) {
|
||||||
@@ -1766,7 +1766,6 @@ int ltexturesLoadRenderTexture( lua_State *L ) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
> success = RL_UnloadTexture( Texture2D texture )
|
> success = RL_UnloadTexture( Texture2D texture )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user