Cleaned up and translated some comments
brap
This commit is contained in:
1 parent
c438f14599
commit
179d2ab764
2 files changed
+5
-6
No files matched your search
@@ -25,7 +25,7 @@
|
||||
#include "../z_zone.h"
|
||||
#include "../v_video.h"
|
||||
#include "../r_draw.h"
|
||||
#include "../r_patch.h" // sneed's feed and seed, formerly chuck's
|
||||
#include "../r_patch.h" // patch rotation
|
||||
|
||||
// Values set after a call to HWR_ResizeBlock()
|
||||
static INT32 blocksize, blockwidth, blockheight;
|
||||
@@ -706,7 +706,6 @@ static void HWR_LoadMappedPatch(GLMipmap_t *grmip, GLPatch_t *gpatch)
|
||||
// You can't free rawpatch for some reason?
|
||||
// (Obviously I can't, sprite rotation needs that...)
|
||||
|
||||
// Fuckal: I HATE HARDWARE, I HATE HARDWARE!!
|
||||
if (!gpatch->rawpatch)
|
||||
Z_Free(patch);
|
||||
}
|
||||
|
||||
@@ -1142,8 +1142,8 @@ void Flush(void)
|
||||
|
||||
while (gr_cachehead)
|
||||
{
|
||||
// ceci n'est pas du tout necessaire vu que tu les a charger normalement et
|
||||
// donc il sont dans ta liste !
|
||||
// this is not necessary at all, because you have loaded them normally,
|
||||
// and so they already are in your list!
|
||||
if (gr_cachehead->downloaded)
|
||||
pglDeleteTextures(1, (GLuint *)&gr_cachehead->downloaded);
|
||||
gr_cachehead->downloaded = 0;
|
||||
@@ -1731,11 +1731,11 @@ EXPORT void HWRAPI(SetTexture) (FTextureInfo *pTexInfo)
|
||||
|
||||
pTexInfo->nextmipmap = NULL;
|
||||
if (gr_cachetail)
|
||||
{ // insertion en fin de liste
|
||||
{ // insertion at the tail
|
||||
gr_cachetail->nextmipmap = pTexInfo;
|
||||
gr_cachetail = pTexInfo;
|
||||
}
|
||||
else // initialisation de la liste
|
||||
else // initialization of the linked list
|
||||
gr_cachetail = gr_cachehead = pTexInfo;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user