User Tools

Site Tools


code_snippets:psx_scaling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code_snippets:psx_scaling [2024/10/21 19:03] – [The Goal] mrvalentinecode_snippets:psx_scaling [2024/10/21 20:12] (current) – [Draw()] woops mrvalentine
Line 68: Line 68:
  
 // Set up the viewport and scaling matrix // Set up the viewport and scaling matrix
-var viewport = new Viewport(0, 0, 720, 480); // ! 
 var scaleMatrix = Matrix.CreateScale(scaleX, scaleY, 1.0f); // ! var scaleMatrix = Matrix.CreateScale(scaleX, scaleY, 1.0f); // !
  
Line 80: Line 79:
 } }
 </code> </code>
 +
 +===== Closing Remarks =====
 +
 +To perform full screen switches I came across an issue which I had resolved just about, let me know on the community discord if I should add that here.
 +
code_snippets/psx_scaling.1729537383.txt.gz · Last modified: 2024/10/21 19:03 by mrvalentine