From: <bug...@fr...> - 2010-03-22 17:04:58
|
http://bugs.freedesktop.org/show_bug.cgi?id=27248 Summary: Mesa slang float to int casting bug Product: Mesa Version: unspecified Platform: All OS/Version: All Status: NEW Keywords: janitor Severity: normal Priority: medium Component: Mesa core AssignedTo: mes...@li... ReportedBy: it...@gm... i believe where is a typo in : slang_typeinfo.c allowing "float to int" conversation instead of "int to float": this : slang_type_specifier_compatible(const slang_type_specifier * x, const slang_type_specifier * y) { /* special case: float == int */ if (x->type == SLANG_SPEC_INT && y->type == SLANG_SPEC_FLOAT) { return GL_TRUE; } should be replaced with : if (x->type == SLANG_SPEC_FLOAT && y->type == SLANG_SPEC_INT) { -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |