Skip to content

VGUI draws with a white flash over it #8

@LZ1WS

Description

@LZ1WS

For some reason when I draw my panel it is being rendered white over everything (like a foreground instead of a background), obstructing the text and a BG material:

function PANEL:Paint(w, h)
	surface.SetDrawColor(255, 255, 255, 255)
	surface.SetMaterial(matBG)
	surface.DrawTexturedRect(0, 0, w, h)
end

9Kx9ltk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions