Skip to content

Commit

Permalink
Merge pull request #1 from bmx-ng/task/fix-graphics-ref
Browse files Browse the repository at this point in the history
Fixed graphics ref.
  • Loading branch information
woollybah authored Nov 5, 2023
2 parents 93f1552 + 62f1983 commit 640f1c4
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 640f1c4

Please sign in to comment.