changeset 1070:ea10907b9b60

fix: typo
author sam <sam@basx.dev>
date Tue, 02 Apr 2024 16:48:23 +0700
parents dd3c65f285e2
children ec014e90bc46
files semicongine/renderer.nim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/semicongine/renderer.nim	Tue Apr 02 16:19:31 2024 +0700
+++ b/semicongine/renderer.nim	Tue Apr 02 16:48:23 2024 +0700
@@ -73,7 +73,7 @@
   result.queue = device.firstGraphicsQueue().get()
   result.commandBufferPool = device.createCommandBufferPool(result.queue.family, swapchain.get().inFlightFrames)
   result.swapchain = swapchain.get()
-  result.emptyTexture = device.uploadTexture(result.queue, EMPTYTEXTURE)
+  result.emptyTexture = device.uploadTexture(result.queue, EMPTY_TEXTURE)
 
 func inputs(renderer: Renderer, scene: Scene): seq[ShaderAttribute] =
   var found: Table[string, ShaderAttribute]