Skip to content

Commit a485cff

Browse files
author
nitrocaster
committed
Merge branch 'fedan-dev' into dev
2 parents aeda299 + e8f39ef commit a485cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Layers/xrRender/dxFontRender.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void dxFontRender::OnRender(CGameFont &owner)
117117
// tv = ( l.y / owner.vTS.y ) + ( 0.5f / owner.vTS.y );
118118
tu = ( l.x / owner.vTS.x );
119119
tv = ( l.y / owner.vTS.y );
120-
#ifndef USE_DX10
120+
#if !defined(USE_DX10) && !defined(USE_DX11)
121121
// Make half pixel offset for 1 to 1 mapping
122122
tu +=( 0.5f / owner.vTS.x );
123123
tv +=( 0.5f / owner.vTS.y );

0 commit comments

Comments
 (0)