Skip to content

Commit

Permalink
WIP Sampler adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
deccer committed Nov 9, 2022
1 parent 5a11a46 commit 3085c8e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/EngineKit/Graphics/Sampler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,17 @@ private Sampler(SamplerDescriptor samplerDescriptor)
case BorderColor.FloatOpaqueWhite:
GL.SamplerParameter(_id, GL.SamplerParameterF.TextureBorderColor, _whiteBorderColorFloat);
break;
/*
case BorderColor.IntTransparentBlack:
GL.SamplerParameter(_id, GL.SamplerParameterI.TextureBorderColor, _transparentBorderColorInt);
GL.SamplerParameter(_id, GL.SamplerParameterF.TextureBorderColor, _transparentBorderColorInt);
break;
case BorderColor.IntOpaqueBlack:
GL.SamplerParameter(_id, GL.SamplerParameterI.TextureBorderColor, _blackBorderColorInt);
GL.SamplerParameter(_id, GL.SamplerParameterF.TextureBorderColor, _blackBorderColorInt);
break;
case BorderColor.IntOpaqueWhite:
GL.SamplerParameter(_id, GL.SamplerParameterI.TextureBorderColor, _whiteBorderColorInt);
GL.SamplerParameter(_id, GL.SamplerParameterF.TextureBorderColor, _whiteBorderColorInt);
break;
*/
}
}

Expand Down

0 comments on commit 3085c8e

Please sign in to comment.