mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:37:34 +00:00
LibGfx: Remove try_
prefix from bitmap creation functions
Those don't have any non-try counterpart, so we might as well just omit it.
This commit is contained in:
parent
1971bff314
commit
82a152b696
186 changed files with 598 additions and 598 deletions
|
@ -124,7 +124,7 @@ void Tubes::choose_new_direction_for_tube(Tube& tube)
|
|||
|
||||
ErrorOr<void> Tubes::create_buffer(Gfx::IntSize size)
|
||||
{
|
||||
m_bitmap = TRY(Gfx::Bitmap::try_create(Gfx::BitmapFormat::BGRx8888, size));
|
||||
m_bitmap = TRY(Gfx::Bitmap::create(Gfx::BitmapFormat::BGRx8888, size));
|
||||
m_gl_context = TRY(GL::create_context(*m_bitmap));
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue