summaryrefslogtreecommitdiffstats
path: root/tools/render-test/surface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/surface.cpp')
-rw-r--r--tools/render-test/surface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/render-test/surface.cpp b/tools/render-test/surface.cpp
index 4d761389a..eabe555c3 100644
--- a/tools/render-test/surface.cpp
+++ b/tools/render-test/surface.cpp
@@ -1,4 +1,4 @@
-// surface.cpp
+// surface.cpp
#include "surface.h"
#include <stdlib.h>
@@ -46,7 +46,7 @@ Slang::Result MallocSurfaceAllocator::allocate(int width, int height, Format for
uint8_t* data = (uint8_t*)::malloc(totalSize);
if (!data)
{
- return SLANG_E_MEM_OUT_OF_MEMORY;
+ return SLANG_E_OUT_OF_MEMORY;
}
surface.m_data = data;