Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix console font resizing #196

Merged
merged 7 commits into from Apr 3, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 1 addition & 8 deletions src/engine/renderer/tr_image.cpp
Expand Up @@ -1047,14 +1047,7 @@ void R_UploadImage( const byte **dataArray, int numLayers, int numMips,
}
else if ( samples == 4 )
{
if ( image->bits & IF_ALPHA )
{
internalFormat = GL_ALPHA8;
}
else
{
internalFormat = GL_RGBA8;
}
internalFormat = GL_RGBA8;
}
}

Expand Down
3 changes: 0 additions & 3 deletions src/engine/renderer/tr_local.h
Expand Up @@ -512,7 +512,6 @@ static inline void halfToFloat( const f16vec4_t in, vec4_t out )
{
IF_NONE,
IF_NOPICMIP = BIT( 0 ),
IF_ALPHA = BIT( 1 ),
IF_NORMALMAP = BIT( 2 ),
IF_RGBA16F = BIT( 3 ),
IF_RGBA32F = BIT( 4 ),
Expand Down Expand Up @@ -1094,8 +1093,6 @@ static inline void halfToFloat( const f16vec4_t in, vec4_t out )

uint32_t stateBits; // GLS_xxxx mask

bool heightMapInNormalMap;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bed!


bool isCubeMap;

int deformIndex;
Expand Down