this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

SEMANTICS CHANGE: All new GPU_Images now have blending enabled by default. This is so modulation alpha always works without doing anything else.

+3 -4
+2 -2
src/renderer_GL_common.inl
··· 1897 1897 result->has_mipmaps = 0; 1898 1898 1899 1899 result->color = white; 1900 - result->use_blending = ((format == GPU_FORMAT_LUMINANCE_ALPHA || format == GPU_FORMAT_RGBA)? 1 : 0); 1900 + result->use_blending = 1; 1901 1901 result->blend_mode = GPU_GetBlendModeFromPreset(GPU_BLEND_NORMAL); 1902 1902 result->filter_mode = GPU_FILTER_LINEAR; 1903 1903 result->snap_mode = GPU_SNAP_POSITION_AND_DIMENSIONS; ··· 2136 2136 result->has_mipmaps = 0; 2137 2137 2138 2138 result->color = white; 2139 - result->use_blending = ((format == GPU_FORMAT_LUMINANCE_ALPHA || format == GPU_FORMAT_RGBA)? 1 : 0); 2139 + result->use_blending = 1; 2140 2140 result->blend_mode = GPU_GetBlendModeFromPreset(GPU_BLEND_NORMAL); 2141 2141 result->snap_mode = GPU_SNAP_POSITION_AND_DIMENSIONS; 2142 2142 result->filter_mode = filter_mode;
+1 -1
tests/renderer/main.c
··· 442 442 result->has_mipmaps = 0; 443 443 444 444 result->color = white; 445 - result->use_blending = ((format == GPU_FORMAT_LUMINANCE_ALPHA || format == GPU_FORMAT_RGBA)? 1 : 0); 445 + result->use_blending = 1; 446 446 result->blend_mode = GPU_GetBlendModeFromPreset(GPU_BLEND_NORMAL); 447 447 result->filter_mode = GPU_FILTER_LINEAR; 448 448 result->snap_mode = GPU_SNAP_POSITION_AND_DIMENSIONS;
-1
tests/replace-image/main.c
··· 121 121 122 122 // Fade out the selection image 123 123 GPU_SetColor(selection_image, GPU_MakeColor(255, 255, 255, 100)); 124 - GPU_SetBlending(selection_image, 1); 125 124 126 125 if(!GPU_LoadTarget(image)) 127 126 return 6;