Results 1 to 3 of 3

Thread: How do you enable multisampling?

  1. #1

    Default How do you enable multisampling?

    Using 2.0.4, how do I get a multisample-enabled Window? I can't seem to find an option anywhere. Thanks.

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Replace:
    Code:
    		CL_DisplayWindow window("ClanLib Basic2D Example", 640, 480);
    With:

    Code:
    		CL_OpenGLWindowDescription desc;
    		desc.set_title("ClanLib Basic2D Example");
    		desc.set_size( CL_Size(640, 480), false );
    		desc.set_multisampling(4);
    		CL_DisplayWindow window(desc);

  3. #3

    Default

    Cool, thanks.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •