Skip to content

Commit

Permalink
Fixed graphics ref.
Browse files Browse the repository at this point in the history
  • Loading branch information
woollybah committed Nov 5, 2023
1 parent 93f1552 commit 62f1983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d3d9odd2d.mod/d3d9odd2d.bmx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62f1983

Please sign in to comment.