Hi all, I've a problem using GL1. I'm using last SVN version of ClanLib.

In CL_BlendMode.cpp:

Code:
CL_BlendMode_Impl()	:
	  src_func(cl_blend_src_alpha),	  dest_func(cl_blend_one_minus_src_alpha),
	  src_alpha_func(cl_blend_one), 
	  dest_alpha_func(cl_blend_one_minus_src_alpha),
	  color_equation(cl_blend_equation_add),
	  alpha_equation(cl_blend_equation_add),
	  blend_color(CL_Colorf(1.0f,1.0f,1.0f)), blending_enabled(true)+
In GL1 set_blend_mode():
Code:
if( mode.get_blend_function_src() == mode.get_blend_function_src_alpha() &&
		mode.get_blend_function_dest() == mode.get_blend_function_dest_alpha() )
	{
		if (cl1BlendFunc)
			cl1BlendFunc(to_enum(mode.get_blend_function_src()), to_enum(mode.get_blend_function_dest()));
	}
	else
	{
		throw CL_Exception(cl_text("BlendFuncSeparate is not supported for OpenGL 1.3"));	}
src_func != src_alpha_func and in GL1 this causes an exception when I create CL_DisplayWindow().