Bläddra i källkod

Merge pull request #1 from bmx-ng/task/fix-graphics-ref

Fixed graphics ref.
Brucey 1 år sedan
förälder
incheckning
640f1c4b84
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      d3d9odd2d.mod/d3d9odd2d.bmx

+ 1 - 1
d3d9odd2d.mod/d3d9odd2d.bmx

@@ -111,7 +111,7 @@ Type TD3D9Odd2DDriver Extends TOdd2DDriver
 
 	Method SetGraphics( g:TGraphics )
 		Super.SetGraphics g
-		If g Then _d3dDev=TD3D9Graphics(TMax2DGraphics(g)._graphics).GetDirect3DDevice()
+		If g Then _d3dDev=TD3D9Graphics(TMax2DGraphics(g)._backendGraphics).GetDirect3DDevice()
 	End Method
 	
 '	Method Flip( sync ) Abstract