1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:27:46 +00:00

Meta+Userland: Pass Gfx::IntSize by value

Just two ints like Gfx::IntPoint.
This commit is contained in:
MacDue 2022-12-06 21:35:32 +00:00 committed by Andreas Kling
parent e011eafd37
commit 27fae78335
63 changed files with 142 additions and 142 deletions

View file

@ -39,7 +39,7 @@ public:
virtual DeviceInfo info() const = 0;
virtual void draw_primitives(PrimitiveType, FloatMatrix4x4 const& model_view_transform, FloatMatrix4x4 const& projection_transform, Vector<Vertex>& vertices) = 0;
virtual void resize(Gfx::IntSize const& min_size) = 0;
virtual void resize(Gfx::IntSize min_size) = 0;
virtual void clear_color(FloatVector4 const&) = 0;
virtual void clear_depth(DepthType) = 0;
virtual void clear_stencil(StencilType) = 0;
@ -71,6 +71,6 @@ public:
}
typedef GPU::Device* (*serenity_gpu_create_device_t)(Gfx::IntSize const& size);
typedef GPU::Device* (*serenity_gpu_create_device_t)(Gfx::IntSize size);
extern "C" GPU::Device* serenity_gpu_create_device(Gfx::IntSize const& size);
extern "C" GPU::Device* serenity_gpu_create_device(Gfx::IntSize size);