Skip to content

Commit 0abaca4

Browse files
committed
WIP PAUSE
1 parent 928fd38 commit 0abaca4

12 files changed

Lines changed: 219 additions & 646 deletions

assets/core/scenes/scene-helmet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"bPhysicsDebugDraw": false,
1010
"bDrawAllBoundingBoxes": false,
1111
"bFrustumCulling": true,
12-
"bMSAA": true,
12+
"bMSAA": false,
1313
"szIndexBufferSize": 32000000,
1414
"szVertexBufferSize": 32000000,
1515
"szDataBufferSize": 32000000,

extensions/pl_draw_ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ pl__format_info_equal(const plRenderAttachmentFormatInfo* ptInfo0, const plRende
509509
{
510510
for(uint32_t i = 0; i < ptInfo0->uColorCount; i++)
511511
{
512-
if(ptInfo0->atColorFormats[i] != ptInfo0->atColorFormats[i])
512+
if(ptInfo0->atColorFormats[i] != ptInfo1->atColorFormats[i])
513513
{
514514
return false;
515515
}

extensions/pl_graphics_ext.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,6 @@ pl_load_graphics_ext(plApiRegistryI* ptApiRegistry, bool bReload)
10701070

10711071
#if defined(PL_GRAPHICS_EXPOSE_METAL) && defined(PL_METAL_BACKEND)
10721072
.get_metal_device = pl_graphics_get_metal_device,
1073-
.get_metal_render_pass_descriptor = pl_graphics_get_metal_render_pass_descriptor,
10741073
.get_metal_command_buffer = pl_graphics_get_metal_command_buffer,
10751074
.get_metal_command_encoder = pl_graphics_get_metal_command_encoder,
10761075
.get_metal_texture = pl_graphics_get_metal_texture,

extensions/pl_graphics_ext.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ typedef enum VkFormat VkFormat;
296296
#endif
297297

298298
#ifdef PL_GRAPHICS_EXPOSE_METAL
299-
@class MTL4RenderPassDescriptor;
300299
@protocol MTLDevice, MTL4CommandBuffer, MTL4RenderCommandEncoder, MTLTexture;
301300
#endif
302301

@@ -770,7 +769,6 @@ typedef struct _plGraphicsI
770769
id<MTLDevice> (*get_metal_device)(plDevice*);
771770
plTextureHandle (*get_metal_bind_group_texture)(plDevice*, plBindGroupHandle);
772771
id<MTLTexture> (*get_metal_texture)(plDevice*, plTextureHandle);
773-
MTL4RenderPassDescriptor* (*get_metal_render_pass_descriptor)(plDevice*, plRenderPassHandle);
774772
id<MTL4CommandBuffer> (*get_metal_command_buffer)(plCommandBuffer*);
775773
id<MTL4RenderCommandEncoder> (*get_metal_command_encoder)(plCommandBuffer*);
776774
#endif

0 commit comments

Comments
 (0)