MCPcopy Create free account
hub / github.com/demoth/jake2 / Draw_FindPic

Method Draw_FindPic

client/src/main/java/jake2/client/render/fast/Draw.java:102–109  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

100 =============
101 */
102 public image_t Draw_FindPic(String name) {
103 if (!name.startsWith("/") && !name.startsWith("\\"))
104 {
105 return GL_FindImage(name, it_pic);
106 } else {
107 return GL_FindImage(name.substring(1), it_pic);
108 }
109 }
110
111
112 /*

Callers 4

Draw_GetPicSizeMethod · 0.95
Draw_StretchPicMethod · 0.95
Draw_PicMethod · 0.95
Draw_TileClearMethod · 0.95

Calls 1

GL_FindImageMethod · 0.80

Tested by

no test coverage detected