Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Text not shown (white on white) #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions WindowsDesktop/Direct3D10/DisplayFontApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected override void Draw(DemoTime time)
{
base.Draw(time);

Device.ClearRenderTargetView(BackBufferView, Color.White);
Device.ClearRenderTargetView(BackBufferView, Color.Black);

// Make the text boucing on the screen limits
if ((fontDimension.Right + xDir) > Config.Width)
Expand Down Expand Up @@ -97,4 +97,4 @@ static void Main(string[] args)
program.Run(new DemoConfiguration("SharpDX D3D10 Font Rendering Demo") { WaitVerticalBlanking = true });
}
}
}
}