Преглед на файлове

Merge branch 'raysan5:master' into master

pull/4796/head
Jon Daniel преди 3 месеца
committed by GitHub
родител
ревизия
369f767c59
No known key found for this signature in database GPG ключ ID: B5690EEEBB952194
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +1
    -1
      src/platforms/rcore_desktop_glfw.c
  2. +1
    -1
      src/rtext.c

+ 1
- 1
src/platforms/rcore_desktop_glfw.c Целия файл

@ -1759,7 +1759,7 @@ static void WindowSizeCallback(GLFWwindow *window, int width, int height)
width = (int)(width/GetWindowScaleDPI().x);
height = (int)(height/GetWindowScaleDPI().y);
}
// Set render size
CORE.Window.render.width = width;
CORE.Window.render.height = height;

+ 1
- 1
src/rtext.c Целия файл

@ -1075,7 +1075,7 @@ bool ExportFontAsCode(Font font, const char *fileName)
byteCount += sprintf(txtData + byteCount, " Image imFont = { fontImageData_%s, %i, %i, 1, %i };\n\n", styleName, image.width, image.height, image.format);
#endif
byteCount += sprintf(txtData + byteCount, " // Load texture from image\n");
byteCount += sprintf(txtData + byteCount, " if (isGpuReady) font.texture = LoadTextureFromImage(imFont);\n");
byteCount += sprintf(txtData + byteCount, " font.texture = LoadTextureFromImage(imFont);\n");
#if defined(SUPPORT_COMPRESSED_FONT_ATLAS)
byteCount += sprintf(txtData + byteCount, " UnloadImage(imFont); // Uncompressed data can be unloaded from memory\n\n");
#endif

Зареждане…
Отказ
Запис