mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
This fixes the mathlib build, at least for me. I didn't bother to fix code in e.g. raytrace or vgui_controls, so things are almost certainly still broken in there.
This commit is contained in:
@ -48,7 +48,7 @@ void CSIMDVectorMatrix::CreateFromRGBA_FloatImageData(int srcwidth, int srcheigh
|
||||
{
|
||||
for(int cp=0;cp<4; cp++)
|
||||
{
|
||||
int real_cp=min( cp, ntrailing_pixels_per_source_line-1 );
|
||||
int real_cp=V_min( cp, ntrailing_pixels_per_source_line-1 );
|
||||
data_out[4*c+cp]= data_in[c+4*real_cp];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user