PDA

View Full Version : Disable 'small blurring'



Aikidos
02-07-2013, 10:45 PM
Hello, all.

Left picture - ClanLib
Right - Normal image

http://clip2net.com/clip/m84544/1360275003-clip-24kb.png

How i can disable 'small blurring'?

Thnx.

Judas
02-08-2013, 12:28 AM
Which version of ClanLib are you using here?

Are you applying any kind of scaling transform?

Aikidos
02-08-2013, 09:13 AM
Which version of ClanLib are you using here?
2.3.6



Are you applying any kind of scaling transform?
No. Only load CL_Sprite and draw it.

Create window code:

CL_OpenGLWindowDescription cDesc;
cDesc.set_title(sTitle);
cDesc.set_size(vSize, false);
cDesc.show_maximize_button(false);

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

rombust
02-08-2013, 02:16 PM
Try using CL_Sprite's set_linear_filter(false) function

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

Aikidos
02-08-2013, 07:44 PM
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 :)