View Issue Details

IDProjectCategoryView StatusLast Update
0007606Multi Theft Auto : San AndreasClientpublic2013-05-08 12:14
Reporterarezu Assigned Toccw  
Status resolvedResolutionfixed 
Target Version1.3.2Fixed in Version1.3.2 
Summary0007606: dxSetRenderTarget messes up all colors

Using dxSetRenderTarget with a render target created with dxCreatRenderTarget causes all colors totally glitch out until there is some kind of movement in the game (camera moving or walking/driving). Even if there is movement, the screen flashes.

Steps To Reproduce

Download this:
Start it and press page up or page down.

TagsNo tags attached.



2013-05-06 17:48

viewer   ~~0018514

This only happens when you dont use dxSetRenderTarget in a render event.


2013-05-06 21:59

viewer   ~~0018516

I agree with this issue!


2013-05-06 22:57

viewer   ~~0018518

I put it as a major issue, but that is not the case when i noticed that its fine as long as you make it render in onClientRender event.


2013-05-07 02:19

viewer   ~~0018521

Well, it's fixed now:


2013-05-07 02:25

administrator   ~~0018522

Last edited: 2013-05-07 02:25

Also, you can improve the quality of text drawn to a render target with dxSetBlendMode. See the example (based on your code) I just added to the wiki:

Issue History

Date Modified Username Field Change