• R/O
  • SSH
  • HTTPS

vima19: Commit


Commit MetaInfo

Revision100 (tree)
Zeit2020-04-08 23:08:47
Autorhgtterry

Log Message

Vima19 Texture Lib 08/04/20

Ändern Zusammenfassung

Diff

--- Anim19_OSDN/GD19_OSDN.cpp (revision 99)
+++ Anim19_OSDN/GD19_OSDN.cpp (revision 100)
@@ -207,6 +207,20 @@
207207 {
208208
209209 // Vima 20/3/20
210+
211+ case ID_TEST_GENERAL:
212+ {
213+ if (App->CL_Vm_ImGui->Show_Image == 1)
214+ {
215+ App->CL_Vm_ImGui->Show_Image = 0;
216+ }
217+ else
218+ {
219+ App->CL_Vm_ImGui->Show_Image = 1;
220+ }
221+ return 1;
222+ }
223+
210224 case ID_IMPORT_GENESIS3D:
211225 {
212226 App->CL_Importer->Genesis3D_Loader();
@@ -311,23 +325,6 @@
311325 }
312326
313327 // -----------------------------------------------------
314- // -----------------------------------------------------
315- case ID_TEST_GENERAL:
316- {
317- App->CL_Vm_TopBar->Start_TopBar();
318- //if (App->Cl_FileView_V2->OpenObjects == 1)
319- //{
320- // //App->Cl_FileView_V2->OpenObjects = 0;
321- // App->Cl_FileView_V2->SelectObject = 1;
322- //}
323- //else
324- //{
325- // App->Cl_FileView_V2->OpenObjects = 1;
326- // App->Cl_FileView_V2->SelectObject = 1;
327- //}
328- return 1;
329- }
330-
331328 //------------------------- Menu Camera
332329 case ID_CAMERA_FOLLOWOBJECT:
333330 {
--- Anim19_OSDN/VM_ImGui.cpp (revision 99)
+++ Anim19_OSDN/VM_ImGui.cpp (revision 100)
@@ -11,6 +11,7 @@
1111 Show_Rotation = 0;
1212 Show_Position = 0;
1313 Show_Scale = 0;
14+ Show_Image = 0;
1415
1516 Model_XTranslate = 2;
1617 Model_YTranslate = 2;
@@ -72,6 +73,13 @@
7273 {
7374 ImGui_Scale();
7475 }
76+
77+ if (Show_Image == 1)
78+ {
79+ ImGui_Image();
80+ }
81+
82+
7583 }
7684
7785 // *************************************************************************
@@ -113,7 +121,7 @@
113121 }
114122 else
115123 {
116-
124+
117125 ImGui::Text(" X Y Z");
118126
119127 if (ImGui::Button("X+", ImVec2(70, 0)))
@@ -481,4 +489,36 @@
481489 }
482490 ImGui::End();
483491 }
484-}
\ No newline at end of file
492+}
493+
494+
495+// *************************************************************************
496+// * ImGui_Image Terry Bernie *
497+// *************************************************************************
498+void VM_ImGui::ImGui_Image(void)
499+{
500+ //ImGui::SetNextWindowPos(ImVec2(10, 10), ImGuiCond_FirstUseEver);
501+
502+ if (!ImGui::Begin("Image", &Show_Image, ImGuiWindowFlags_NoSavedSettings))
503+ {
504+ ImGui::End();
505+ }
506+ else
507+ {
508+ if (App->CL_Vm_Textures->g_Texture[0] == NULL)
509+ {
510+
511+ }
512+ else
513+ {
514+
515+ /*int MatIndex = App->CL_Vm_Model->MatIndex_Data[0];
516+ glBindTexture(GL_TEXTURE_2D, App->CL_Vm_Textures->g_Texture[MatIndex]);
517+
518+ ImGui::Text("pointer = %p", App->CL_Vm_Textures->g_Texture[MatIndex]);
519+ ImGui::Text("size = %d x %d", 256, 256);
520+ ImGui::Image((void*)(intptr_t)App->CL_Vm_Textures->g_Texture[MatIndex], ImVec2(256.0f, 256.0f));
521+ ImGui::End();*/
522+ }
523+ }
524+}
--- Anim19_OSDN/VM_ImGui.h (revision 99)
+++ Anim19_OSDN/VM_ImGui.h (revision 100)
@@ -12,6 +12,7 @@
1212 void ImGui_Rotation(void);
1313 void ImGui_Position(void);
1414 void ImGui_Scale(void);
15+ void ImGui_Image(void);
1516
1617 bool StartPos;
1718
@@ -21,6 +22,7 @@
2122 bool Show_Rotation;
2223 bool Show_Position;
2324 bool Show_Scale;
25+ bool Show_Image;
2426
2527 float Model_XTranslate;
2628 float Model_YTranslate;
--- Anim19_OSDN/VM_TextLib.cpp (revision 99)
+++ Anim19_OSDN/VM_TextLib.cpp (revision 100)
@@ -29,7 +29,7 @@
2929 VM_TextLib::VM_TextLib()
3030 {
3131 Entry = nullptr;
32- pData = nullptr;
32+ p_Data = nullptr;
3333 }
3434
3535 VM_TextLib::~VM_TextLib()
@@ -62,6 +62,8 @@
6262 {
6363 case WM_INITDIALOG:
6464 {
65+ SendDlgItemMessage(hDlg, IDC_TEXTURELIST, WM_SETFONT, (WPARAM)App->Font_CB15, MAKELPARAM(TRUE, 0));
66+
6567 App->CL_Vm_TextLib->Entry = new BitmapEntry;
6668
6769 SetWindowLong(GetDlgItem(hDlg, IDC_PREVIEW), GWL_WNDPROC, (LONG)TextureLibPreviewWnd);
@@ -74,10 +76,10 @@
7476
7577 App->CL_Vm_TextLib->LoadFile(hDlg);
7678
77- /*strcpy(buf1, szTitle);
79+ strcpy(buf1, App->Version);
7880 strcat(buf1, " ");
79- strcat(buf1, C_TetureLib->pData->TXLFileName);
80- SetWindowText(hDlg, buf1);*/
81+ strcat(buf1, App->CL_Vm_TextLib->p_Data->TXLFileName);
82+ SetWindowText(hDlg, buf1);
8183
8284 Font = CreateFont(-24, 0, 0, 0, 0, 0, 0, 0, 0, OUT_TT_ONLY_PRECIS, 0, 0, 0, "Arial Black");
8385 Font1 = CreateFont(-20, 0, 0, 0, 0, 0, 0, 0, 0, OUT_TT_ONLY_PRECIS, 0, 0, 0, "Arial Black");
@@ -86,8 +88,7 @@
8688 SendDlgItemMessage(hDlg, IDC_TEXTURE, WM_SETFONT, (WPARAM)Font, MAKELPARAM(TRUE, 0));
8789 SendDlgItemMessage(hDlg, IDC_ALPHA, WM_SETFONT, (WPARAM)Font, MAKELPARAM(TRUE, 0));
8890 SendDlgItemMessage(hDlg, IDC_GEINFO, WM_SETFONT, (WPARAM)Font1, MAKELPARAM(TRUE, 0));
89- // SendDlgItemMessage(hDlg,IDC_CTRLKEY, WM_SETFONT, (WPARAM)Font2, MAKELPARAM(TRUE, 0));
90- SendDlgItemMessage(hDlg, IDC_TEXTURELIST, WM_SETFONT, (WPARAM)Font2, MAKELPARAM(TRUE, 0));
91+
9192
9293 }
9394
@@ -103,7 +104,7 @@
103104 if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
104105 {
105106
106- if (App->CL_Vm_TextLib->pData->Dirty)
107+ if (App->CL_Vm_TextLib->p_Data->Dirty)
107108 {
108109 int Result;
109110
@@ -117,8 +118,8 @@
117118
118119 if (Result == IDYES)
119120 {
120- if (App->CL_Vm_TextLib->pData->FileNameIsValid)
121- App->CL_Vm_TextLib->Save(App->CL_Vm_TextLib->pData->TXLFileName);
121+ if (App->CL_Vm_TextLib->p_Data->FileNameIsValid)
122+ App->CL_Vm_TextLib->Save(App->CL_Vm_TextLib->p_Data->TXLFileName);
122123 else
123124 App->CL_Vm_TextLib->Save(NULL);
124125 }
@@ -145,7 +146,7 @@
145146 }*/
146147
147148 App->CL_Vm_TextLib->AddTexture(NULL, App->CL_Vm_TextLib->Txt_FileName);
148- App->CL_Vm_TextLib->pData->Dirty = 1; // it as changed reqest save
149+ App->CL_Vm_TextLib->p_Data->Dirty = 1; // it as changed reqest save
149150 return TRUE;
150151 }
151152 //--------------------------------- Save ----------------------
@@ -152,7 +153,7 @@
152153 if (LOWORD(wParam) == IDC_SAVE)
153154 {
154155
155- App->CL_Vm_TextLib->Save(App->CL_Vm_TextLib->pData->TXLFileName);
156+ App->CL_Vm_TextLib->Save(App->CL_Vm_TextLib->p_Data->TXLFileName);
156157 return TRUE;
157158 }
158159 //--------------------------------- Rename ----------------------
@@ -505,7 +506,6 @@
505506 return FALSE;
506507
507508 SelectObject(MemDC, Bmp);
508-
509509 SourceWidth = SourceRect->right - SourceRect->left;
510510 SourceHeight = SourceRect->bottom - SourceRect->top;
511511 DestWidth = DestRect->right - DestRect->left;
@@ -522,6 +522,7 @@
522522 SourceWidth,
523523 SourceHeight,
524524 SRCCOPY);
525+
525526 if (Alpha)
526527 {
527528 SelectObject(MemDC, Alpha);
@@ -777,9 +778,9 @@
777778 geVFile_Finder * Finder = NULL;
778779 geVFile_Finder * FinderCount = NULL;
779780
780- pData = new TPack_WindowData;
781- pData->hwnd = ChDlg;
782- pData->BitmapCount = 0;
781+ p_Data = new TPack_WindowData;
782+ p_Data->hwnd = ChDlg;
783+ p_Data->BitmapCount = 0;
783784
784785 int TextureCount = 0;
785786
@@ -829,13 +830,13 @@
829830 }
830831
831832 }
832- strcpy(pData->TXLFileName, Txt_FileName);
833- pData->FileNameIsValid = TRUE;
834- pData->Dirty = FALSE;
833+ strcpy(p_Data->TXLFileName, Txt_FileName);
834+ p_Data->FileNameIsValid = TRUE;
835+ p_Data->Dirty = FALSE;
835836 geVFile_Close(VFS);
836837
837- SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_SETCURSEL, (WPARAM)0, (LPARAM)0);
838-
838+ SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_SETCURSEL, (WPARAM)0, (LPARAM)0);
839+ App->CL_Vm_TextLib->SelectBitmap();
839840 return 1;
840841 }
841842
@@ -905,7 +906,7 @@
905906 // goto fail;
906907 // }
907908 // NewBitmapList = geRam_Realloc(pData->Bitmaps, sizeof(*NewBitmapList) * (pData->BitmapCount + 1));
908- NewBitmapList[pData->BitmapCount] = new BitmapEntry;
909+ NewBitmapList[p_Data->BitmapCount] = new BitmapEntry;
909910 if (!NewBitmapList)
910911 {
911912 NonFatalError("Memory allocation error processing %s", Path);
@@ -912,14 +913,14 @@
912913 return TRUE;
913914 }
914915
915- NewBitmapList[pData->BitmapCount]->Name = Name;
916- NewBitmapList[pData->BitmapCount]->Bitmap = Bitmap;
917- NewBitmapList[pData->BitmapCount]->WinBitmap = NULL;
918- NewBitmapList[pData->BitmapCount]->WinABitmap = NULL;
919- NewBitmapList[pData->BitmapCount]->Flags = 0;
920- pData->BitmapCount++;
916+ NewBitmapList[p_Data->BitmapCount]->Name = Name;
917+ NewBitmapList[p_Data->BitmapCount]->Bitmap = Bitmap;
918+ NewBitmapList[p_Data->BitmapCount]->WinBitmap = NULL;
919+ NewBitmapList[p_Data->BitmapCount]->WinABitmap = NULL;
920+ NewBitmapList[p_Data->BitmapCount]->Flags = 0;
921+ p_Data->BitmapCount++;
921922
922- SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_ADDSTRING, (WPARAM)0, (LPARAM)Name);
923+ SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_ADDSTRING, (WPARAM)0, (LPARAM)Name);
923924
924925 return TRUE;
925926
@@ -936,7 +937,7 @@
936937
937938 int location = 0;
938939
939- Index = SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_GETCURSEL, (WPARAM)0, (LPARAM)0);
940+ Index = SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_GETCURSEL, (WPARAM)0, (LPARAM)0);
940941 if (Index == LB_ERR)
941942 {
942943 // Entry = NULL;
@@ -943,9 +944,9 @@
943944 }
944945 else
945946 {
946- SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_GETTEXT, (WPARAM)Index, (LPARAM)&TextureName[0]);
947+ SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_GETTEXT, (WPARAM)Index, (LPARAM)&TextureName[0]);
947948
948- location = FindBitmap(pData, TextureName);
949+ location = FindBitmap(p_Data, TextureName);
949950
950951 // assert(Entry);
951952 if (!NewBitmapList[location]->WinBitmap)
@@ -955,7 +956,7 @@
955956 HBITMAP ahbm;
956957 HDC hDC;
957958
958- PreviewWnd = GetDlgItem(pData->hwnd, IDC_PREVIEW);
959+ PreviewWnd = GetDlgItem(p_Data->hwnd, IDC_PREVIEW);
959960 hDC = GetDC(PreviewWnd);
960961 hbm = CreateHBitmapFromgeBitmap(NewBitmapList[location]->Bitmap, hDC);
961962 NewBitmapList[location]->WinBitmap = hbm;
@@ -975,7 +976,7 @@
975976 }
976977 }
977978
978- InvalidateRect(GetDlgItem(pData->hwnd, IDC_PREVIEW), NULL, TRUE);
979+ InvalidateRect(GetDlgItem(p_Data->hwnd, IDC_PREVIEW), NULL, TRUE);
979980
980981 Entry = NewBitmapList[location];
981982 UpDateGeList(location);
@@ -987,11 +988,11 @@
987988 // *************************************************************************
988989 // * FindBitmap 06/06/08 *
989990 // *************************************************************************
990-int VM_TextLib::FindBitmap(TPack_WindowData *pData, const char *Name)
991+int VM_TextLib::FindBitmap(TPack_WindowData *p_Data, const char *Name)
991992 {
992993 int i;
993994
994- for (i = 0; i < pData->BitmapCount; i++)
995+ for (i = 0; i < p_Data->BitmapCount; i++)
995996 {
996997
997998 if (!strcmp(Name, NewBitmapList[i]->Name))
@@ -1104,22 +1105,22 @@
11041105
11051106 char buff[256];
11061107 strcpy(buff, "no info");
1107- SendDlgItemMessage(pData->hwnd, IDC_GEINFO, LB_RESETCONTENT, (WPARAM)0, (LPARAM)0);
1108+ SendDlgItemMessage(p_Data->hwnd, IDC_GEINFO, LB_RESETCONTENT, (WPARAM)0, (LPARAM)0);
11081109
11091110 sprintf(buff, "%s %s", "Texture Name :-", NewBitmapList[Location]->Name);
1110- SendDlgItemMessage(pData->hwnd, IDC_GEINFO, LB_ADDSTRING, (WPARAM)0, (LPARAM)buff);
1111+ SendDlgItemMessage(p_Data->hwnd, IDC_GEINFO, LB_ADDSTRING, (WPARAM)0, (LPARAM)buff);
11111112
11121113 sprintf(buff, "%s %i", "Index :-", Location);
1113- SendDlgItemMessage(pData->hwnd, IDC_GEINFO, LB_ADDSTRING, (WPARAM)0, (LPARAM)buff);
1114+ SendDlgItemMessage(p_Data->hwnd, IDC_GEINFO, LB_ADDSTRING, (WPARAM)0, (LPARAM)buff);
11141115
11151116 sprintf(buff, "%s %s", "Bitmap :-", "Valid");
1116- SendDlgItemMessage(pData->hwnd, IDC_GEINFO, LB_ADDSTRING, (WPARAM)0, (LPARAM)buff);
1117+ SendDlgItemMessage(p_Data->hwnd, IDC_GEINFO, LB_ADDSTRING, (WPARAM)0, (LPARAM)buff);
11171118
11181119 sprintf(buff, "%s %d", "Width :-", geBitmap_Width(NewBitmapList[Location]->Bitmap));
1119- SendDlgItemMessage(pData->hwnd, IDC_GEINFO, LB_ADDSTRING, (WPARAM)0, (LPARAM)buff);
1120+ SendDlgItemMessage(p_Data->hwnd, IDC_GEINFO, LB_ADDSTRING, (WPARAM)0, (LPARAM)buff);
11201121
11211122 sprintf(buff, "%s %d", "Height :-", geBitmap_Height(NewBitmapList[Location]->Bitmap));
1122- SendDlgItemMessage(pData->hwnd, IDC_GEINFO, LB_ADDSTRING, (WPARAM)0, (LPARAM)buff);
1123+ SendDlgItemMessage(p_Data->hwnd, IDC_GEINFO, LB_ADDSTRING, (WPARAM)0, (LPARAM)buff);
11231124
11241125
11251126 geBitmap_GetInfo(NewBitmapList[Location]->Bitmap, &MPInfo, &MSInfo);
@@ -1149,12 +1150,12 @@
11491150 // Ouput to the current directory
11501151 GetCurrentDirectory(MAX_PATH, szPath);
11511152
1152- nSel = SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_GETCURSEL, (WPARAM)0, (LPARAM)0);
1153+ nSel = SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_GETCURSEL, (WPARAM)0, (LPARAM)0);
11531154 if (nSel == LB_ERR)
11541155 {
11551156 // Entry = NULL;
11561157 }
1157- SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_GETTEXT, (WPARAM)nSel, (LPARAM)&szName[0]);
1158+ SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_GETTEXT, (WPARAM)nSel, (LPARAM)&szName[0]);
11581159
11591160
11601161 // App->CL_Vm_TextLib->pEntry = FindBitmap(pData, szName);
@@ -1385,8 +1386,8 @@
13851386 GetCurrentDirectory(sizeof(Dir), Dir);
13861387
13871388 ofn.lStructSize = sizeof(OPENFILENAME);
1388- ofn.hwndOwner = pData->hwnd;
1389- ofn.hInstance = pData->Instance;
1389+ ofn.hwndOwner = p_Data->hwnd;
1390+ ofn.hInstance = p_Data->Instance;
13901391 {
13911392 char *c;
13921393
@@ -1430,7 +1431,7 @@
14301431 return 0;
14311432 }
14321433
1433- for (i = 0; i < pData->BitmapCount; i++)
1434+ for (i = 0; i < p_Data->BitmapCount; i++)
14341435 {
14351436 geVFile * File;
14361437 geBoolean WriteResult;
@@ -1454,13 +1455,13 @@
14541455 }
14551456 }
14561457
1457- strcpy(pData->TXLFileName, Path);
1458- pData->FileNameIsValid = TRUE;
1458+ strcpy(p_Data->TXLFileName, Path);
1459+ p_Data->FileNameIsValid = TRUE;
14591460
14601461 if (geVFile_Close(VFS) == GE_FALSE)
14611462 NonFatalError("I/O error writing %s", Path);
14621463 else
1463- pData->Dirty = FALSE;
1464+ p_Data->Dirty = FALSE;
14641465 return 1;
14651466 }
14661467
@@ -1483,8 +1484,8 @@
14831484 bool VM_TextLib::GetName()
14841485 {
14851486
1486- int Index = SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_GETCURSEL, (WPARAM)0, (LPARAM)0);
1487- SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_GETTEXT, (WPARAM)Index, (LPARAM)&TextureName[0]);
1487+ int Index = SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_GETCURSEL, (WPARAM)0, (LPARAM)0);
1488+ SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_GETTEXT, (WPARAM)Index, (LPARAM)&TextureName[0]);
14881489 return 1;
14891490 }
14901491 // *************************************************************************
@@ -1493,9 +1494,9 @@
14931494 bool VM_TextLib::ReName(const char *NewName)
14941495 {
14951496
1496- int Index = SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_GETCURSEL, (WPARAM)0, (LPARAM)0);
1497- SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_GETTEXT, (WPARAM)Index, (LPARAM)&TextureName[0]);
1498- int location = FindBitmap(pData, TextureName);
1497+ int Index = SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_GETCURSEL, (WPARAM)0, (LPARAM)0);
1498+ SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_GETTEXT, (WPARAM)Index, (LPARAM)&TextureName[0]);
1499+ int location = FindBitmap(p_Data, TextureName);
14991500
15001501 strcpy(NewBitmapList[location]->Name, NewName);
15011502 return 1;
@@ -1507,19 +1508,19 @@
15071508 bool VM_TextLib::UpDateList(const char *NewName)
15081509 {
15091510
1510- int Index = SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_GETCURSEL, (WPARAM)0, (LPARAM)0);
1511- SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_RESETCONTENT, (WPARAM)0, (LPARAM)0);
1511+ int Index = SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_GETCURSEL, (WPARAM)0, (LPARAM)0);
1512+ SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_RESETCONTENT, (WPARAM)0, (LPARAM)0);
15121513
15131514 int i;
15141515
1515- for (i = 0; i < pData->BitmapCount; i++)
1516+ for (i = 0; i < p_Data->BitmapCount; i++)
15161517 {
15171518
1518- SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_ADDSTRING, (WPARAM)0, (LPARAM)NewBitmapList[i]->Name);
1519+ SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_ADDSTRING, (WPARAM)0, (LPARAM)NewBitmapList[i]->Name);
15191520
15201521 }
15211522
1522- SendDlgItemMessage(pData->hwnd, IDC_TEXTURELIST, LB_SETCURSEL, (WPARAM)Index, (LPARAM)0);
1523+ SendDlgItemMessage(p_Data->hwnd, IDC_TEXTURELIST, LB_SETCURSEL, (WPARAM)Index, (LPARAM)0);
15231524
15241525 return 1;
15251526 }
--- Anim19_OSDN/VM_TextLib.h (revision 99)
+++ Anim19_OSDN/VM_TextLib.h (revision 100)
@@ -99,7 +99,7 @@
9999
100100
101101
102- TPack_WindowData *pData;
102+ TPack_WindowData *p_Data;
103103 BitmapEntry * NewBitmapList[200];
104104 BitmapEntry * Entry;
105105
--- Anim19_OSDN/VM_Textures.cpp (revision 99)
+++ Anim19_OSDN/VM_Textures.cpp (revision 100)
@@ -345,6 +345,8 @@
345345 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);
346346 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR_MIPMAP_LINEAR);
347347
348+ //glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
349+
348350 return 1;
349351 }
350352
--- Bin/imgui.ini (revision 99)
+++ Bin/imgui.ini (revision 100)
@@ -58,3 +58,8 @@
5858 Size=450,655
5959 Collapsed=0
6060
61+[Window][OpenGL Texture Text]
62+Pos=406,76
63+Size=321,373
64+Collapsed=0
65+
Show on old repository browser