renamed function

main
noah metz 2024-10-22 18:23:39 -06:00
parent c48dfce532
commit 44b78a2861
1 changed files with 4 additions and 8 deletions

@ -10,7 +10,7 @@
#include "ft2build.h"
#include FT_FREETYPE_H
VkResult i_dont_know_yet(GLFWwindow* window, UIContext* ui, RenderContext* render) {
VkResult test_ui(GLFWwindow* window, UIContext* ui, RenderContext* render) {
uint32_t font_index;
uint32_t background_index;
FT_Library library;
@ -239,18 +239,14 @@ int main() {
VkResult result;
VK_RESULT(init_vulkan(window, &render));
VK_RESULT(create_ui_context(
10,
10,
10,
&render,
&ui));
// TODO: make # of fonts/textures/containers scaling, recreate GPU buffers as necessary
VK_RESULT(create_ui_context(10, 10, 10, &render, &ui));
//////////////////////////////////
/// Test Code
//////////////////////////////////
VK_RESULT(i_dont_know_yet(window, &ui, &render));
VK_RESULT(test_ui(window, &ui, &render));
//////////////////////////////////