mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-17 01:22:32 +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 ) {
|
qboolean mipmap, qboolean allowPicmip, int glWrapClampMode, qboolean cube ) {
|
||||||
image_t *image;
|
image_t *image;
|
||||||
qboolean isLightmap = qfalse;
|
qboolean isLightmap = qfalse;
|
||||||
long hash;
|
|
||||||
|
|
||||||
if (strlen(name) >= MAX_QPATH ) {
|
if (strlen(name) >= MAX_QPATH ) {
|
||||||
ri.Error (ERR_DROP, "R_CreateImage: \"%s\" is too long", name);
|
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 );
|
GL_SelectTexture( 0 );
|
||||||
|
|
||||||
hash = generateHashValue(name);
|
|
||||||
image->next = hashTable[hash];
|
|
||||||
hashTable[hash] = image;
|
|
||||||
|
|
||||||
return image;
|
return image;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue