Sergey Popov wrote:
> В Thu, 11 Feb 2010 11:11:50 -0600
> David White <[email protected]> wrote:
>
>   
>> I am in favor of (1), since I see the only advantage of (2) being that 
>> it will allow a non-opengl rendering path.
>>     
>
> OpenGL isn't designed for 2D graphics and you'd need an abstraction layer for 
> it anyway.
> So why not just use an already existing one? This is overriding advantage of 
> (2)
>   
Actually this is a common misunderstanding about OpenGL. It *is* 
designed for 2D and 3D graphics, and has excellent support for both. No 
abstraction layer is needed for 2D graphics. You can program a 2D 
application very effectively using OpenGL.

You might want an abstraction layer because OpenGL is a very general and 
fairly low level library, so specializing it to the needs of a 
particular application is a good idea.

David


> _______________________________________________
> Wesnoth-dev mailing list
> [email protected]
> https://mail.gna.org/listinfo/wesnoth-dev
>   


_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to