crosshairdot.tga reloading every frame after visiting the menu when crosshair_dot is 1
https://www.youtube.com/watch?v=a7TotksivSE
After this triggers, the FPS go down and the game becomes very stuttery.
22:46 terenceh+ weird, the same thing should happen for the normal crossahir, but it doesn't
22:50 Mario` because the crosshair itself sets a "quiet" flag so it won't warn about this
22:50 Mario` but it likely is doing the same thing
22:59 terenceh+ ocin: because menu and client open the crosshair dot image in 2 different modes
23:00 terenceh+ they conflict, as you guessed earlier
23:32 ocin so calling draw_getimagesize("gfx/crosshairdot.tga") before CROSSHAIR_DRAW() in qcsrc/client/hud/crosshair.qc:617 would fix it?
23:35 Mario` ocin: that would only silence the warning, not actually fix what it's doing
terencehill EDIT: small piece of information that could be helpful from that IRC conversation:
[23:10:15] <terencehill> <@Mario`> because the crosshair itself sets a "quiet" flag
[23:10:22] <terencehill> hmm, where?
[21:11:36] <@Mario`> terencehill: when it calls drawgetimagesize
So unlike the normal crosshair, the crosshair dot doesn't call drawgetimagesize.
Edited by terencehill