Skip to content

Commit e46ecb8

Browse files
committed
Let's go 2.29!
1 parent 023533f commit e46ecb8

File tree

2 files changed

+379
-92
lines changed

2 files changed

+379
-92
lines changed

olcPixelGameEngine.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@
355355
+adv_FlushLayerGPUTasks - [ADVANCED] Prematurely drain GPUTasks for immediate buffer update
356356
Added polylines as drawable decal structures
357357
Updated Geometry2D to support non-segment line intersections
358+
+olcUTIL_Hardware3D.h file v1.01
358359
NOTICE OF DEPRECATION! olc::DecalInstance is to be removed and replaced by olc::GPUTask
359360
360361
@@ -436,7 +437,7 @@ int main()
436437
#include <cstring>
437438
#pragma endregion
438439

439-
#define PGE_VER 228
440+
#define PGE_VER 229
440441

441442
// O------------------------------------------------------------------------------O
442443
// | COMPILER CONFIGURATION ODDITIES |
@@ -5047,7 +5048,7 @@ namespace olc
50475048
if (pack != nullptr)
50485049
{
50495050
ResourceBuffer rb = pack->GetFileBuffer(sImageFile);
5050-
bytes = stbi_load_from_memory((unsigned char*)rb.vMemory.data(), rb.vMemory.size(), &w, &h, &cmp, 4);
5051+
bytes = stbi_load_from_memory((unsigned char*)rb.vMemory.data(), int(rb.vMemory.size()), &w, &h, &cmp, 4);
50515052
}
50525053
else
50535054
{

0 commit comments

Comments
 (0)