Skip to content

Linux: Performing graphics operations have no effect on the color data #4

Description

@Helmare

The code below results in no change to FastBitmap.Data when it is ran on Linux (Ubuntu 20.04).

using (Graphics g = Graphics.FromImage(FastBmp.BaseBitmap))
using (SolidBrush brush = new SolidBrush(Color.Red))
{
    g.FillRectangle(brush, 0, 0, FastBmp.Width, FastBmp.Height);
    g.Flush();
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglinuxRelated to using this library on Linux.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions