|
Selecting Direct3D antialiasing issues |
tinyBigGAMES
Member #17,458
February 2020
|
When you enable antialiasing on D3D, the screen jumps around and then settles down. 1 if aAntiAlias then
2 begin
3 al_set_new_display_option(ALLEGRO_SAMPLE_BUFFERS, 1, ALLEGRO_SUGGEST);
4 al_set_new_display_option(ALLEGRO_SAMPLES, 8, ALLEGRO_SUGGEST);
5 end
6 else
7 begin
8 al_set_new_display_option(ALLEGRO_SAMPLE_BUFFERS, 0, ALLEGRO_SUGGEST);
9 al_set_new_display_option(ALLEGRO_SAMPLES, 0, ALLEGRO_SUGGEST);
10 end;
11
12 case aRenderAPI of
13 Direct3D: al_set_new_display_flags(ALLEGRO_DIRECT3D_INTERNAL);
14 OpenGL : al_set_new_display_flags(ALLEGRO_OPENGL);
15 end;
Jarrod Davis |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Thanks for reminding me of this. I never submitted my fix for antialiasing with DX driver. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
tinyBigGAMES
Member #17,458
February 2020
|
Ahh, ok. I guess I had been working with a build that had the fix I got from you last year. As soon as the PR is posted, I will merge and rebuild. Thx. Edit: I found your changes from your test branch, applied and recompiled. I can confirm that everything works as expected. Jarrod Davis |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Next time you edit bump the thread so I see it. I was just going to bump this so I didn't forget. Nice of you to test my changes for me. Kindly remind me where you got them, as I seem to have lost them.... EDIT My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|