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:
parent
e011eafd37
commit
27fae78335
63 changed files with 142 additions and 142 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue