Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dxDrawCircle: Not rendered at all if postGUI is enabled #432

Closed
jushar opened this issue Sep 8, 2018 · 1 comment · Fixed by #618
Closed

dxDrawCircle: Not rendered at all if postGUI is enabled #432

jushar opened this issue Sep 8, 2018 · 1 comment · Fixed by #618
Labels
bug Something isn't working
Milestone

Comments

@jushar
Copy link
Contributor

jushar commented Sep 8, 2018

Describe the bug
If postGUI is set to true, circles are not rendered at all.

To Reproduce

addEventHandler("onClientRender", root,
    function()
        dxDrawCircle(150, 150, 100, 0, 360, tocolor(255, 255, 255), tocolor(255, 255, 255), 32, 1, true)
    end
)

Expected behavior
I expect a circle to be rendered

MTA Client (please complete the following information):

  • Version: 1.5.6
  • Running in Wine? No

Additional context
Maybe it's somehow related to #431

@jushar jushar added the bug Something isn't working label Sep 8, 2018
@ghost
Copy link

ghost commented Sep 9, 2018

This is bad. dxDrawPrimitive fixes this problem. We can pass the STL container of vertices to dxDrawPrimitive within dxDrawCircle call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants