changeset 961:616f97e92270

fix: typo
author sam <sam@basx.dev>
date Tue, 02 Apr 2024 16:48:23 +0700
parents 23c8072d7a53
children 7855746f2d13
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]