Results 1 to 5 of 5

Thread: Disable 'small blurring'

  1. #1
    Lesser Knight
    Join Date
    May 2010
    Posts
    32

    Default Disable 'small blurring'

    Hello, all.

    Left picture - ClanLib
    Right - Normal image



    How i can disable 'small blurring'?

    Thnx.

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    554

    Default

    Which version of ClanLib are you using here?

    Are you applying any kind of scaling transform?

  3. #3
    Lesser Knight
    Join Date
    May 2010
    Posts
    32

    Default

    Quote Originally Posted by Magnus Norddahl View Post
    Which version of ClanLib are you using here?
    2.3.6

    Quote Originally Posted by Magnus Norddahl View Post
    Are you applying any kind of scaling transform?
    No. Only load CL_Sprite and draw it.

    Create window code:
    PHP Code:
        CL_OpenGLWindowDescription cDesc;
        
    cDesc.set_title(sTitle);
        
    cDesc.set_size(vSizefalse);
        
    cDesc.show_maximize_button(false);

        try {
            
    m_cWindow CL_DisplayWindow(cDesc);
        }
        catch (
    CL_Exception e) {
            
    Logger::getInstance().write("ERROR"e.message);
        } 

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

    Default

    Try using CL_Sprite's set_linear_filter(false) function

    However, for an unscaled image, it shouldn't look like that

  5. #5
    Lesser Knight
    Join Date
    May 2010
    Posts
    32

    Default

    Quote Originally Posted by rombust View Post
    Try using CL_Sprite's set_linear_filter(false) function

    However, for an unscaled image, it shouldn't look like that
    Thnx, rombust! It's working for me

Similar Threads

  1. Small patches from me
    By user in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 07-29-2011, 10:01 AM
  2. Replies: 1
    Last Post: 01-21-2011, 10:40 AM
  3. Small patch
    By Jonanin in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 01-04-2010, 09:18 AM
  4. Disable mouse cursor movement
    By TheQuantumMechanic in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 07-30-2008, 08:23 PM
  5. dink small wood 2
    By in forum Dink Smallwood HD
    Replies: 2
    Last Post: 08-25-2004, 08:32 PM

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
  •