Skip to content

Commit 34ce2b1

Browse files
committed
Fix RaylibImpl + cmake
1 parent 062cd54 commit 34ce2b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libs/B-luga-graphics/src/RaylibImpl/Graphics/Graphics.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace Raylib {
5858

5959
bool RayImageImpl::isImageReady()
6060
{
61-
return IsImageReady(_image);
61+
return IsImageValid(_image);
6262
}
6363

6464
void RayImageImpl::unloadImage()
@@ -104,7 +104,7 @@ namespace Raylib {
104104
_width(width),
105105
_height(height)
106106
{
107-
if (!IsTextureReady(_texture)) {
107+
if (!IsTextureValid(_texture)) {
108108
static const ::Color badTexture = {255, 16, 240, 255};
109109
static constexpr int badImageSize = 50;
110110
_texture = LoadTextureFromImage(GenImageColor(badImageSize, badImageSize, badTexture));

libs/B-luga-steam/deps/steamsdk/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.20)
22

3-
include(GetSteamSdk)
3+
include(GetSteamSdk.cmake)
44

55
target_include_directories(
66
${PROJECT_NAME}

0 commit comments

Comments
 (0)