We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When there is black background, renderer doesn't correctly display generated or loaded bitmaps.
git clone --depth 1 https://github.com/e2dk4r/handmadehero -b day-157 handmadehero-issue-3
patch -p1 < issue-3.patch
diff --git a/src/handmadehero.c b/src/handmadehero.c index 35285be..2d719fe 100644 --- a/src/handmadehero.c +++ b/src/handmadehero.c @@ -1520,9 +1520,9 @@ GameUpdateAndRender(struct game_memory *memory, struct game_input *input, struct // render - // BitmapWithColor(renderGroup, &state->testDiffuse, particle->position, 1.0f, color); - BitmapAsset(renderGroup, BitmapGetFirstId(transientState->assets, ASSET_TYPE_HEAD), particle->position, 1.0f, - color); + BitmapWithColor(renderGroup, &state->testDiffuse, particle->position, 1.0f, color); + //BitmapAsset(renderGroup, BitmapGetFirstId(transientState->assets, ASSET_TYPE_HEAD), particle->position, 1.0f, + // color); } TiledDrawRenderGroup(transientState->highPriorityQueue, renderGroup, &drawBuffer);
Blacks blended without blue artifacts
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When there is black background, renderer doesn't correctly display generated or loaded bitmaps.
Steps to reproduce:
git clone --depth 1 https://github.com/e2dk4r/handmadehero -b day-157 handmadehero-issue-3
patch -p1 < issue-3.patch
Actual result:
Expected result:
Blacks blended without blue artifacts
The text was updated successfully, but these errors were encountered: