瀏覽代碼

Fixed build.

woollybah 6 年之前
父節點
當前提交
70515dc99d
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      bgfxgraphics.mod/bgfxgraphics.bmx
  2. 1 1
      bgfxgraphics.mod/win32_gfx.c

+ 3 - 0
bgfxgraphics.mod/bgfxgraphics.bmx

@@ -68,6 +68,9 @@ Type TGfxGraphics Extends TGraphics
 		_context=0
 	End Method
 	
+	Method Resize:Int(width:Int, height:Int) Override
+	End Method
+	
 	Field _context:Byte Ptr
 	
 End Type

+ 1 - 1
bgfxgraphics.mod/win32_gfx.c

@@ -25,7 +25,7 @@
 */
 #include <windows.h>
 
-#include "bgfx/c99/platform.h"
+#include "bgfx/c99/bgfx.h"
 #include <brl.mod/systemdefault.mod/system.h>
 
 static const wchar_t *CLASS_NAMEW=L"BlitzMax BgfxGraphics";