Disabled sampling to prevent defects at edges of sprite textures.
This commit is contained in:
parent
9c5252fe3b
commit
438b0a35bb
@ -47,8 +47,8 @@ pub const Context = struct {
|
|||||||
const events = try allegro.createEventQueue();
|
const events = try allegro.createEventQueue();
|
||||||
|
|
||||||
allegro.setNewDisplayOption(allegro.NewDisplayOption.VSYNC, 1, allegro.OptionImportance.SUGGEST);
|
allegro.setNewDisplayOption(allegro.NewDisplayOption.VSYNC, 1, allegro.OptionImportance.SUGGEST);
|
||||||
allegro.setNewDisplayOption(allegro.NewDisplayOption.SAMPLE_BUFFERS, 1, allegro.OptionImportance.REQUIRE);
|
// allegro.setNewDisplayOption(allegro.NewDisplayOption.SAMPLE_BUFFERS, 1, allegro.OptionImportance.REQUIRE);
|
||||||
allegro.setNewDisplayOption(allegro.NewDisplayOption.SAMPLES, 4, allegro.OptionImportance.REQUIRE);
|
// allegro.setNewDisplayOption(allegro.NewDisplayOption.SAMPLES, 4, allegro.OptionImportance.REQUIRE);
|
||||||
allegro.setNewDisplayFlags(allegro.NewDisplayFlags{ .RESIZABLE = true });
|
allegro.setNewDisplayFlags(allegro.NewDisplayFlags{ .RESIZABLE = true });
|
||||||
const display = try allegro.createDisplay(DefaultDisplayWidth, DefaultDisplayHeight);
|
const display = try allegro.createDisplay(DefaultDisplayWidth, DefaultDisplayHeight);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user