mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-26 14:11:22 +00:00
Fixed infinite loop
This commit is contained in:
parent
28096be527
commit
76483e3e6c
1 changed files with 0 additions and 5 deletions
|
@ -977,7 +977,6 @@ image_t *R_CreateImage2( const char *name, const byte *pic, int width, int heigh
|
|||
qboolean mipmap, qboolean allowPicmip, int glWrapClampMode, qboolean cube ) {
|
||||
image_t *image;
|
||||
qboolean isLightmap = qfalse;
|
||||
long hash;
|
||||
|
||||
if (strlen(name) >= MAX_QPATH ) {
|
||||
ri.Error (ERR_DROP, "R_CreateImage: \"%s\" is too long", name);
|
||||
|
@ -1046,10 +1045,6 @@ image_t *R_CreateImage2( const char *name, const byte *pic, int width, int heigh
|
|||
|
||||
GL_SelectTexture( 0 );
|
||||
|
||||
hash = generateHashValue(name);
|
||||
image->next = hashTable[hash];
|
||||
hashTable[hash] = image;
|
||||
|
||||
return image;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue